sendmail.mc entries
Marcus Schopen
lists at localguru.de
Mon Aug 4 13:18:07 EDT 2003
Hi Sebastian,
Sebastian Hagedorn wrote:
> Marcus,
>
> --On Sonntag, 3. August 2003 17:16 Uhr +0200 Marcus Schopen
> <marcus at localguru.de> wrote:
>
>> is that a correct sendmail.mc entry to deliver using cyrus:
>>
>> ----------------------
>>
>> [...]
>>
>> define(`CYRUS_MAILER_FLAGS', `A5@/:|')dnl
>> define(`CYRUS_MAILER_PATH', `/usr/sbin/cyrdeliver')dnl
>> define(`CYRUS_MAILER_ARGS', `cyrdeliver -e -q -m $h -- $u ')dnl
>> define(`CYRUS_MAILER_USER', `cyrus:mail')dnl
>> define(`CYRUS_BB_MAILER_FLAGS', `')dnl
>> define(`CYRUS_BB_MAILER_ARGS', `cyrdeliver -e -q -m $u ')dnl
>>
>> [...]
>>
>> MAILER(local)dnl
>> MAILER(smtp)dnl
>> MAILER(cyrus)dnl
>>
>> ----------------------
>>
>> I works fine, but I'm not sure, if I forgot something little, but
>> important.
>
>
> what you've done may work, but why do it the hard way? Recent versions
> of sendmail come with a new cyrus mailer definition:
>
> MAILER(cyrusv2)dnl
>
> and you're done. This doesn't use 'deliver' anymore and performs in my
> experience better.
I found the macro in the current sendmail sources! Could you send me
your cyrus relevant parts of your sendmail.mc?
On comp.mail.sendmail someone posted this sendmail.mc:
------
dnl define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
define(`confLOCAL_MAILER', `cyrusv2')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`cyrusv2')dnl
dnl MODIFY_MAILER_FLAGS(`cyrus',`+w')dnl
LOCAL_RULE_0
Rbb + $+ < @ $=w . > $#cyrusbb $: $1
------
A friend of mine sent me these lines:
------
define(`confLOCAL_MAILER',`cyrusv2')dnl
define(`CYRUSV2_MAILER_PATH', `/usr/lib/cyrus-imapd/deliver')dnl
define(`CYRUSV2_MAILER_FLAGS', `A5@/:|')dnl
define(`CYRUSV2_MAILER_ARGS', `cyrdeliver -e -q -m $h -- $u ')dnl
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
define(`CYRUS_BB_MAILER_FLAGS', `')dnl
define(`CYRUS_BB_MAILER_ARGS', `cyrdeliver -e -q -m $u ')dnl
MAILER(cyrusv2)
LOCAL_RULE_0
R$=N $: $#local $: $1
R$=N < @ $=w . > $: $#local $: $1
Rbb + $+ < @ $=w . > $#cyrusbb $: $1
------
What's the best way?
Thanks,
Marcus
--
Marcus Schopen (0>
P.O. Box 10 25 25 //\ Deutsche Zope User Group
D-33525 Bielefeld V_/_ www.dzug.org
More information about the Info-cyrus
mailing list