[Dovecot] chroot lmtp, then can not open /usr/local/lib/dovecot

Timo Sirainen tss at iki.fi
Mon Jun 6 18:39:11 EEST 2011


On Mon, 2011-06-06 at 23:36 +0800, johnw wrote:
> On 2011年06月06日 23:28, Timo Sirainen wrote:
> > On Mon, 2011-06-06 at 23:20 +0800, johnw wrote:
> >> (lmtp) Couldn't drop privileges: Process is already chrooted, can't
> >> un-chroot for this user
> >>
> >> i already config mail_chroot, should i remove it?(mail_chroot)
> >> any how-to document is for lmtp chroot?
> > protocol !lmtp {
> >    mail_chroot = /somewhere
> > }
> >
> >
> doveconf: Fatal: Error in configuration file 
> /etc/dovecot/conf.d/10-master.conf line 50: Unknown setting: mail_chroot

Did you put it inside service lmtp {} or something? That's different
from protocol lmtp {}




More information about the dovecot mailing list