Import sendmail 8.13.7
[dragonfly.git] / contrib / sendmail-8.13.7 / cf / mailer / fax.m4
1 PUSHDIVERT(-1)
2 #
3 # Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
5 # Copyright (c) 1983 Eric P. Allman.  All rights reserved.
6 # Copyright (c) 1988, 1993
7 #       The Regents of the University of California.  All rights reserved.
8 #
9 # By using this file, you agree to the terms and conditions set
10 # forth in the LICENSE file which can be found at the top level of
11 # the sendmail distribution.
12 #
13 #
14 #  This assumes you already have Sam Leffler's HylaFAX software.
15 #
16 #  Tested with HylaFAX 4.0pl1
17 #
18
19 ifdef(`FAX_MAILER_ARGS',,
20         `define(`FAX_MAILER_ARGS', faxmail -d $u@$h $f)')
21 ifdef(`FAX_MAILER_PATH',,
22         `define(`FAX_MAILER_PATH', /usr/local/bin/faxmail)')
23 ifdef(`FAX_MAILER_MAX',,
24         `define(`FAX_MAILER_MAX', 100000)')
25 define(`_FAX_QGRP', `ifelse(defn(`FAX_MAILER_QGRP'),`',`', ` Q=FAX_MAILER_QGRP,')')dnl
26 POPDIVERT
27 ####################################
28 ###   FAX Mailer specification   ###
29 ####################################
30
31 VERSIONID(`$Id: fax.m4,v 8.16 2001/11/12 23:11:34 ca Exp $')
32
33 Mfax,           P=FAX_MAILER_PATH, F=DFMhu, S=14, R=24,
34                 M=FAX_MAILER_MAX, T=X-Phone/X-FAX/X-Unix,_FAX_QGRP
35                 A=FAX_MAILER_ARGS
36
37 LOCAL_CONFIG
38 CPFAX