cyrus.m4 revision 64562
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
4#	All rights reserved.
5#
6# By using this file, you agree to the terms and conditions set
7# forth in the LICENSE file which can be found at the top level of
8# the sendmail distribution.
9#
10#
11# This code incorporates code from Carnegie Mellon University, whose
12# copyright notice and conditions of redistribution are as follows:
13#
14#***************************************************************************
15#	(C) Copyright 1995 by Carnegie Mellon University
16#
17#                      All Rights Reserved
18#
19# Permission to use, copy, modify, and distribute this software and its
20# documentation for any purpose and without fee is hereby granted,
21# provided that the above copyright notice appear in all copies and that
22# both that copyright notice and this permission notice appear in
23# supporting documentation, and that the name of CMU not be
24# used in advertising or publicity pertaining to distribution of the
25# software without specific, written prior permission.
26#
27# CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
28# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
29# CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
30# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
31# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
32# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
33# SOFTWARE.
34#
35#	Contributed to Berkeley by John Gardiner Myers <jgm+@CMU.EDU>.
36#
37
38ifdef(`_MAILER_local_', `',
39	`errprint(`*** MAILER(`local') must appear before MAILER(`cyrus')')')dnl
40
41_DEFIFNOT(`CYRUS_MAILER_FLAGS', `Ah5@/:|')
42ifdef(`CYRUS_MAILER_PATH',, `define(`CYRUS_MAILER_PATH', /usr/cyrus/bin/deliver)')
43ifdef(`CYRUS_MAILER_ARGS',, `define(`CYRUS_MAILER_ARGS', `deliver -e -m $h -- $u')')
44ifdef(`CYRUS_MAILER_USER',, `define(`CYRUS_MAILER_USER', `cyrus:mail')')
45_DEFIFNOT(`CYRUS_BB_MAILER_FLAGS', `u')
46ifdef(`CYRUS_BB_MAILER_ARGS',, `define(`CYRUS_BB_MAILER_ARGS', `deliver -e -m $u')')
47
48POPDIVERT
49
50##################################################
51###   Cyrus Mailer specification               ###
52##################################################
53
54VERSIONID(`$Id: cyrus.m4,v 8.21 1999/10/18 04:57:52 gshapiro Exp $ (Carnegie Mellon)')
55
56Mcyrus,		P=CYRUS_MAILER_PATH, F=_MODMF_(CONCAT(`lsDFMnPq', CYRUS_MAILER_FLAGS), `CYRUS'), S=EnvFromL, R=EnvToL/HdrToL,
57		ifdef(`CYRUS_MAILER_MAX', `M=CYRUS_MAILER_MAX, ')U=CYRUS_MAILER_USER, T=DNS/RFC822/X-Unix,
58		A=CYRUS_MAILER_ARGS
59
60Mcyrusbb,	P=CYRUS_MAILER_PATH, F=_MODMF_(CONCAT(`lsDFMnP', CYRUS_BB_MAILER_FLAGS), `CYRUS'), S=EnvFromL, R=EnvToL/HdrToL,
61		ifdef(`CYRUS_MAILER_MAX', `M=CYRUS_MAILER_MAX, ')U=CYRUS_MAILER_USER, T=DNS/RFC822/X-Unix,
62		A=CYRUS_BB_MAILER_ARGS
63