1dnl Copyright (c) 1995-1999 Hannah Schroeter <hannah@mamba.pond.sub.org>
2dnl
3dnl Redistribution and use in source and binary forms, with or without
4dnl modification, are permitted provided that the following conditions
5dnl are met:
6dnl  1. Redistributions of source code must retain the above copyright
7dnl     notice, this list of conditions and the following disclaimer,
8dnl     either in a separate file included with the distribution, or
9dnl     copied into the source files.
10dnl  2. Redistributions in binary form must reproduce the above copyright
11dnl     notice, this list of conditions and the following disclaimer in the
12dnl     documentation and/or other materials provided with the distribution.
13dnl
14dnl THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND HIS CONTRIBUTORS ``AS IS'' AND
15dnl ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17dnl ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR HIS CONTRIBUTORS BE LIABLE
18dnl FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19dnl DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20dnl OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21dnl HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22dnl LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23dnl OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24dnl SUCH DAMAGE.
25dnl
26######################################
27###   BSMTP Mailer specification   ###
28######################################
29
30VERSIONID(`@(#)bsmtp.m4	0.2 (hannah@subnet.sub.net) 8/15/95')
31
32ifdef(`_MAILER_smtp_',
33`Mbsmtp,	P=@PRIVBINDIR@/bsmtp,
34		F=CONCAT(DFmMnuX8, SMTP_MAILER_FLAGS),
35		S=11/31, R=ifdef(`_ALL_MASQUERADE_', `11/31', `21'), E=\n,
36		ifdef(`_OLD_SENDMAIL_',, `L=990, ')ifdef(`SMTP_MAILER_MAX', `M=SMTP_MAILER_MAX, ')A=bsmtp -f $g $h $u')
37