virtual domain mailbox cross contamination

Anthony Brock brocka at sterlingcgi.com
Mon Aug 13 00:46:46 EDT 2007


> -----Original Message-----
> Jarod,
>
> Here is my setting
> lmtp cmd="lmtpd -a" listen="localhost:lmtp" prefork=0 maxchild=20
> lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0
> maxchild=20
>
> If I just have lmtp without the lmtpunix I get this error:
>
> relay=cyrus, delay=0.16, delays=0.05/0.03/0/0.08, dsn=4.3.0,
> status=deferred (temporary failure. Command output: couldn't connect to
> lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )
>
> It only works with the lmtpunix.
>
> my imap.conf has this line:
> lmtpsocket: /var/run/cyrus/socket/lmtp
>
> postfix/main.conf (This does not work)
> mailbox_transport = lmtp:unix:/var/lib/cyrus/socket/lmtp
> (this one does)
> mailbox_transport = cyrus
>
>
> postfix/master.conf
> lmtp unix - - - - - lmtp
> cyrus unix - n n - - pipe
> flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}

At first glance, this looks like a chroot/permissions issue. My
configuration has:

postfix/main.cf:
virtual_transport = cyrus:unix:/var/run/cyrus/socket/lmtp

postfix/main.cf:
cyrus unix - - n - - lmtp

Notice that I do NOT run the cyrus transport inside a chroot. Try changing
your entry to:

lmtp unix - - n - - lmtp

Alternatively, you can try making the lmtp socket available inside the
chroot.

Tony



More information about the Info-cyrus mailing list