cyrus.m4 revision 95154
1238106SdesPUSHDIVERT(-1) 2238106Sdes# 3238106Sdes# Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. 4238106Sdes# All rights reserved. 5238106Sdes# 6238106Sdes# By using this file, you agree to the terms and conditions set 7238106Sdes# forth in the LICENSE file which can be found at the top level of 8238106Sdes# the sendmail distribution. 9238106Sdes# 10238106Sdes# 11238106Sdes# This code incorporates code from Carnegie Mellon University, whose 12238106Sdes# copyright notice and conditions of redistribution are as follows: 13238106Sdes# 14238106Sdes#*************************************************************************** 15238106Sdes# (C) Copyright 1995 by Carnegie Mellon University 16238106Sdes# 17238106Sdes# All Rights Reserved 18238106Sdes# 19238106Sdes# Permission to use, copy, modify, and distribute this software and its 20238106Sdes# documentation for any purpose and without fee is hereby granted, 21238106Sdes# provided that the above copyright notice appear in all copies and that 22238106Sdes# both that copyright notice and this permission notice appear in 23238106Sdes# supporting documentation, and that the name of CMU not be 24238106Sdes# used in advertising or publicity pertaining to distribution of the 25238106Sdes# software without specific, written prior permission. 26238106Sdes# 27238106Sdes# CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 28238106Sdes# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 29238106Sdes# CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 30238106Sdes# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 31238106Sdes# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 32238106Sdes# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 33238106Sdes# SOFTWARE. 34238106Sdes# 35238106Sdes# Contributed to Berkeley by John Gardiner Myers <jgm+@CMU.EDU>. 36238106Sdes# 37238106Sdes 38238106Sdes_DEFIFNOT(`CYRUS_MAILER_FLAGS', `Ah5@/:|') 39238106Sdesifdef(`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 1.1.1.4 2002/02/17 21:56:44 gshapiro 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