On 2011年06月06日 23:39, Timo Sirainen wrote:
On Mon, 2011-06-06 at 23:36 +0800, johnw wrote:
On 2011年06月06日 23:28, Timo Sirainen 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?
On Mon, 2011-06-06 at 23:20 +0800, johnw wrote: 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 {}
i added it to 20-lmtp.conf, is it correct?
## ## LMTP specific settings ##
# Support proxying to other LMTP/SMTP servers by performing passdb lookups. #lmtp_proxy = no
# When recipient address includes the detail (e.g. user+detail), try to save # the mail to the detail mailbox. See also recipient_delimiter and # lda_mailbox_autocreate settings. #lmtp_save_to_detail_mailbox = no
protocol lmtp { # Space separated list of plugins to load (default is global mail_plugins). mail_plugins = $mail_plugins sieve }
protocol !lmtp { mail_chroot = /var/vmail/ }
then, i still see this error in log: Couldn't drop privileges: Process is already chrooted, can't un-chroot for this user