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

johnw johnw.mail at gmail.com
Tue Jun 7 17:02:32 EEST 2011


On 2011年06月07日 21:13, Timo Sirainen wrote:
> On Tue, 2011-06-07 at 19:19 +0800, johnw wrote:
>> Couldn't drop privileges: Process is already chrooted, can't un-chroot
>> for this user
>>
>> and lmtp can not delivery mail
> This'll fix it: http://hg.dovecot.org/dovecot-2.0/rev/ed05316ed441
>
> Also remove the protocol !lmtp {} around mail_chroot. Looks like I
> already had code that was supposed to handle it, but I had forgotten
> about it and I had never tested it.
>
>
after apply the patch with 2.0.13, and remove the protocol !lmtp {}, the 
error like this:

Couldn't drop privileges: Process is already chrooted to /var/vmail, 
can't chroot to /var/vmail/

and lmtp still can not delivery mail


More information about the dovecot mailing list