38f226
PUSHDIVERT(-1)
38f226
#
38f226
# Copyright (c) 2002 Sendmail, Inc. and its suppliers.
38f226
#	All rights reserved.
38f226
#
38f226
# By using this file, you agree to the terms and conditions set
38f226
# forth in the LICENSE file which can be found at the top level of
38f226
# the sendmail distribution.
38f226
#
38f226
#	Contributed by Kenneth Murchison.
38f226
#
38f226
38f226
_DEFIFNOT(`_DEF_CYRUSV2_MAILER_FLAGS', `lsDFMnqXz')
38f226
_DEFIFNOT(`CYRUSV2_MAILER_FLAGS', `A@/:|m')
38f226
ifdef(`CYRUSV2_MAILER_ARGS',, `define(`CYRUSV2_MAILER_ARGS', `FILE /var/imap/socket/lmtp')')
38f226
define(`_CYRUSV2_QGRP', `ifelse(defn(`CYRUSV2_MAILER_QGRP'),`',`', ` Q=CYRUSV2_MAILER_QGRP,')')dnl
38f226
38f226
POPDIVERT
38f226
38f226
#########################################
38f226
###   Cyrus V2 Mailer specification   ###
38f226
#########################################
38f226
38f226
VERSIONID(`$Id: cyrus-imapd-sendmail-8.12.9-cyrusv2.m4,v 1.1 2004/02/04 12:59:42 karsten Exp $')
38f226
38f226
Mcyrusv2,	P=[IPC], F=_MODMF_(CONCAT(_DEF_CYRUSV2_MAILER_FLAGS, CYRUSV2_MAILER_FLAGS), `CYRUSV2'),
38f226
		S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n,
38f226
		_OPTINS(`CYRUSV2_MAILER_MAXMSGS', `m=', `, ')_OPTINS(`CYRUSV2_MAILER_MAXRCPTS', `r=', `, ')_OPTINS(`CYRUSV2_MAILER_CHARSET', `C=', `, ')T=DNS/RFC822/SMTP,_CYRUSV2_QGRP
38f226
		A=CYRUSV2_MAILER_ARGS