cyrus.m4 revision 261363
1PUSHDIVERT(-1)
2#
3# Copyright (c) 1998-2001 Proofpoint, 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
38_DEFIFNOT(`CYRUS_MAILER_FLAGS', `Ah5@/:|')
39ifdef(`CYRUS_MAILER_PATH',, `define(`CYRUS_MAILER_PATH', /usr/cyrus/bin/deliver)')
40ifdef(`CYRUS_MAILER_ARGS',, `define(`CYRUS_MAILER_ARGS', `deliver -e -m $h -- $u')')
41ifdef(`CYRUS_MAILER_USER',, `define(`CYRUS_MAILER_USER', `cyrus:mail')')
42_DEFIFNOT(`CYRUS_BB_MAILER_FLAGS', `u')
43ifdef(`CYRUS_BB_MAILER_ARGS',, `define(`CYRUS_BB_MAILER_ARGS', `deliver -e -m $u')')
44define(`_CYRUS_QGRP', `ifelse(defn(`CYRUS_MAILER_QGRP'),`',`', ` Q=CYRUS_MAILER_QGRP,')')dnl
45
46POPDIVERT
47
48##################################################
49###   Cyrus Mailer specification               ###
50##################################################
51
52VERSIONID(`$Id: cyrus.m4,v 8.24 2013/11/22 20:51:14 ca Exp $ (Carnegie Mellon)')
53
54Mcyrus,		P=CYRUS_MAILER_PATH, F=_MODMF_(CONCAT(`lsDFMnPq', CYRUS_MAILER_FLAGS), `CYRUS'), S=EnvFromL, R=EnvToL/HdrToL,
55		ifdef(`CYRUS_MAILER_MAX', `M=CYRUS_MAILER_MAX, ')U=CYRUS_MAILER_USER, T=DNS/RFC822/X-Unix,_CYRUS_QGRP
56		A=CYRUS_MAILER_ARGS
57
58Mcyrusbb,	P=CYRUS_MAILER_PATH, F=_MODMF_(CONCAT(`lsDFMnP', CYRUS_BB_MAILER_FLAGS), `CYRUS'), S=EnvFromL, R=EnvToL/HdrToL,
59		ifdef(`CYRUS_MAILER_MAX', `M=CYRUS_MAILER_MAX, ')U=CYRUS_MAILER_USER, T=DNS/RFC822/X-Unix,_CYRUS_QGRP
60		A=CYRUS_BB_MAILER_ARGS
61