xref: /freebsd/contrib/sendmail/cf/mailer/cyrusv2.m4 (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1PUSHDIVERT(-1)
2#
3# Copyright (c) 2002 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#	Contributed by Kenneth Murchison.
11#
12
13_DEFIFNOT(`_DEF_CYRUSV2_MAILER_FLAGS', `lsDFMnqXz')
14_DEFIFNOT(`CYRUSV2_MAILER_FLAGS', `A@/:|m')
15ifdef(`CYRUSV2_MAILER_ARGS',, `define(`CYRUSV2_MAILER_ARGS', `FILE /var/imap/socket/lmtp')')
16define(`_CYRUSV2_QGRP', `ifelse(defn(`CYRUSV2_MAILER_QGRP'),`',`', ` Q=CYRUSV2_MAILER_QGRP,')')dnl
17
18POPDIVERT
19
20#########################################
21###   Cyrus V2 Mailer specification   ###
22#########################################
23
24VERSIONID(`$Id: cyrusv2.m4,v 1.2 2013-11-22 20:51:14 ca Exp $')
25
26Mcyrusv2,	P=[IPC], F=_MODMF_(CONCAT(_DEF_CYRUSV2_MAILER_FLAGS, CYRUSV2_MAILER_FLAGS), `CYRUSV2'),
27		S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n,
28		_OPTINS(`CYRUSV2_MAILER_MAXMSGS', `m=', `, ')_OPTINS(`CYRUSV2_MAILER_MAXRCPTS', `r=', `, ')_OPTINS(`CYRUSV2_MAILER_CHARSET', `C=', `, ')T=DNS/RFC822/SMTP,_CYRUSV2_QGRP
29		A=CYRUSV2_MAILER_ARGS
30