Cyrus Imap - Postfix - lmtp or pipe ? And why ? And How ?
Bryntez
tom at bryntez.com
Sun Nov 10 12:04:00 EST 2002
Thanks for the advisory.
I was trying to change from "pipe" to "lmtp" earlier today
but I was getting "permission denied" in the maillog.
So my next question is:
What permissions has to be set to get this to work ?
I have this config: Cyrus Imap 2.1.5, Postfix 1.1.11, with mySQL
and web-cyradm running. We're also using sasl for smtp.
/etc/cyrus.conf
lmtpunix cmd="lmtpd" listen="/home/mailusers/imap/socket/lmtp" prefork=0
/etc/postfix/master.cf
lmtp unix - - n - - lmtp
/etc/postfix/main.cf
mailbox_transport = lmtp:unix:/home/mailusers/imap/socket/lmtp
the lmtp socket itself, has "root.root" permissions.
imap belongs to "cyrus.mail"
postfix belongs to "postfix.postdrop"
postfix owner = postfix
(The pipe option works fine though...)
Regards
bryntez
From: "Scott Russell" <lnxgeek at us.ibm.com>
To: "Bryntez" <tom at bryntez.com>
Cc: <info-cyrus at lists.andrew.cmu.edu>
Sent: Sunday, November 10, 2002 4:11 AM
Subject: Re: Cyrus Imap - Postfix - lmtp or pipe ? And why ?
> On Sun, Nov 10, 2002 at 01:08:58AM +0100, Bryntez wrote:
> >
> > So my question is: Why is lmtp better to use than pipe ?
> > Is it speed, more stable, security or what....
>
> It boils down to speed. Think about having to start a
> /usr/cyrus/bin/deliver process for each email going from postfix to
> cyrus.
>
> Since postfix supports delivery to an lmtp socket it's much nicer to
> have the cyrus lmtpd create the socket and the have postfix just
> deliver mail to that socket.
>
> --
> Scott Russell (lnxgeek at us.ibm.com)
> Linux Technology Center, System Admin, RHCE.
> Dial 877-735-8200 then ask for 919-543-9289 (TTY)
>
>
More information about the Info-cyrus
mailing list