I am trying to set up my sendmail.cf, so that
procmail will still do the local delivery but anything else will go to
cyrus. I came across two possible configuration? Will is the correct
one?
Solution #1
----------------
FEATURE(local_procmail) define(`CYRUS_MAILER_FLAGS',`Aw5:/|@o') define(`confLOCAL_MAILER',`cyrus') dnl # Note: CYUSER isn't needed, but must put $u in mailer args otherwise dnl # it uses SMTP for delivery! define(`CYRUS_MAILER_ARGS', `procmail -p /etc/procmailrc.cyrus CYUSER=$u') define(`CYRUS_MAILER_PATH', `/usr/bin/procmail') MAILER(cyrus) MAILER(procmail) MAILER(smtp) dnl LOCAL_RULE_0
dnl Rbb + $+ < @ $=w . > $#cyrusbb $: $1 ---------------
define(`CYRUS_MAILER_FLAGS',`A5@S')
define(`CYRUS_MAILER_ARGS',
`deliver -m $h --
$u')
define(`confLOCAL_MAILER',`cyrus') mailer(cyrus) LOCAL_RULE_0
Rbb + $+ < @ $=w . > $#cyrusbb $: $1 Remove FEATURE(local_procmail) if it
exist
Which one should I use?
dwc |
- Re: setting up sendmail.cf Dominic W. Chan
- Re: setting up sendmail.cf Michael Salmon
- Re: setting up sendmail.cf Nick Snellock