sendmail.mc entries

Sebastian Hagedorn Hagedorn at uni-koeln.de
Mon Aug 4 14:30:49 EDT 2003


Hi,

-- Marcus Schopen <lists at localguru.de> is rumored to have mumbled on 
Montag, 4. August 2003 19:18 Uhr +0200 regarding Re: sendmail.mc entries:

> I found the macro in the current sendmail sources!

BTW: you should be using 8.12.9, because of security issues with earlier 
versions ...

> Could you send me your
> cyrus relevant parts of your sendmail.mc?

I don't have added much. This is because I use queuegroups:
define(`CYRUSV2_MAILER_QGRP', `local')

This depends on your Cyrus setup:
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')

You need this one:
define(`confLOCAL_MAILER', `cyrusv2')

And of course:

MAILER(`cyrusv2')dnl

> 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

That's basically what I have, except for the local rule. That seems to be 
for bulletin boards, which I don't use.

> ------
>
> 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

That seems to be a wild mix of the old and the new definitions! I don't 
think that makes any sense ... probably the first two defines have no 
effect (I'd have to look at the .m4) and the third gets overwritten by the 
fourth ... I wouldn't rely on your friend's advice if I were you ;-)

> 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

This is for bulletin boards once again.

> ------
>
> What's the best way?

I don't believe that there is one. Start simple. Get the basics working 
first, add other stuff later.

Good luck, Sebastian
--
Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587





More information about the Info-cyrus mailing list