On 2011年06月07日 02:41, Timo Sirainen wrote:
On 6.6.2011, at 19.59, johnw wrote:
yes, i did it (put the mail_chroot inside the protocol !lmtp { mail_chroot = /var/vmail/ } and no mail_chroot anywhere.
but the both doveconf mail_chroot and doveconf -f protocol=lmtp mail_chroot result is same empty: mail_chroot = Oh, looks like doveconf didn't work exactly as I thought :) Small modification to the test then:
doveconf -f protocol=imap mail_chroot doveconf -f protocol=lmtp mail_chroot
Now it should show the chroot with imap, but not with lmtp.
yes, like you said
root@shell:[/etc/dovecot/conf.d]# doveconf -f protocol=imap mail_chroot mail_chroot = /var/vmail/ root@shell:[/etc/dovecot/conf.d]# doveconf -f protocol=lmtp mail_chroot mail_chroot =
but still have the error Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user
and lmtp can not delivery mail