Seperate Cyrus

Ken Murchison ken at oceana.com
Wed May 14 12:16:23 EDT 2003



Sebastian Hagedorn wrote:
> --On Mittwoch, 14. Mai 2003 11:31 Uhr -0400 Ken Murchison 
> <ken at oceana.com> wrote:
> 
>> Christian Schulte wrote:
>>
>>> Patrick Nelson wrote:
>>>
>>> You can use the cyrusv2.mc mailer to connect to cyrus' lmtp port...
>>> Have a look at cf/mailer/cyrusv2.mc and change the default
>>> /var/imap/socket/lmtp unix socket to some lmtp port on a foreign
>>> machine! For this you will have to active lmtp service in cyrus.conf and
>>> not just lmtpunix service on the machine cyrus is running on.
>>
>>
>>
>> No!  You shouldn't hack the cyrusv2.mc file itself.  Its setup to be
>> configurable from your sendmail.mc (or whatever you call it).  Please
>> read cf/README in the Sendmail distro.  All you need to do is define
>> CYRUSV2_MAILER_ARGS to be something like `TCP $h lmtp'
> 
> 
> This question is a bit stupid, I guess, but what the heck ...
> 
> For some reason it was somewhere suggested that it was better to specify 
> the mailer in the .mc file (not the cyrusv2.m4 file!) like this:
> 
> MAILER_DEFINITIONS
> Mcyrus,         P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
>                S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, Q=local,
>                A=FILE /var/lib/imap/socket/lmtp
> 
> LOCAL_RULE_0
> Rbb + $+ < @ $=w . >    $#cyrus $: + $1
> 
> However, I have no idea where and why this was recommended. It's working 
> just fine this way, but I'd like to know why. Any ideas?

It was, and still is recommended by the Cyrus docs for Sendmail 
8.10-8.12.3, since I didn't contribute cyrusv2.m4 until Sendmail 8.12.4.



-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp





More information about the Info-cyrus mailing list