xref: /freebsd/contrib/sendmail/cf/mailer/fax.m4 (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1998, 1999, 2001 Proofpoint, 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
19ifdef(`FAX_MAILER_ARGS',,
20	`define(`FAX_MAILER_ARGS', faxmail -d $u@$h $f)')
21ifdef(`FAX_MAILER_PATH',,
22	`define(`FAX_MAILER_PATH', /usr/local/bin/faxmail)')
23ifdef(`FAX_MAILER_MAX',,
24	`define(`FAX_MAILER_MAX', 100000)')
25define(`_FAX_QGRP', `ifelse(defn(`FAX_MAILER_QGRP'),`',`', ` Q=FAX_MAILER_QGRP,')')dnl
26POPDIVERT
27####################################
28###   FAX Mailer specification   ###
29####################################
30
31VERSIONID(`$Id: fax.m4,v 8.17 2013-11-22 20:51:14 ca Exp $')
32
33Mfax,		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
37LOCAL_CONFIG
38CPFAX
39