Bug#595781: About /var/run/cyrus/socket/lmtp and chroot
Francis Russell
francis+dbts at unchartedbackwaters.co.uk
Mon Sep 6 16:52:52 UTC 2010
Javier Barroso wrote:
> Could we add a third instructions like this:
>
> 3. Change in /etc/postfix/master.cf lmtp chroot column to 'n'
> lmtp unix - - n - - lmtp
>
> If this step is not made, "No such file or directory" will be showed in
> logs (about /var/run/cyrus/socket/lmtp)
I noticed this bug from the mailing list. That instruction assumes that
the user's *only* choice is to move lmtp service out of the chroot.
Instead, they might want to add something this to cyrus.conf:
lmtpchroot cmd="lmtpd"
listen="/var/spool/postfix/local/socket/lmtp" prefork=0 maxchild=20
and create the appropriate folders to enable cyrus to create another
socket inside the postfix chroot. Then they would just need to enable
postfix to find the socket:
virtual_transport = lmtp:unix:local/socket/lmtp
and the lmtp service remains chrooted.
Francis
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list