[Dovecot] 1.0rc29: LDA chroot problem

Timo Sirainen tss at iki.fi
Tue Apr 3 06:30:25 EEST 2007


On Tue, 2007-04-03 at 03:35 +0300, Uldis Pakuls wrote:
> Hi,
> 
> I got strange problem with dovecot LDA;
> 
> in dovecont.conf: mail_chroot = /srv/vmail
> 
> --- 
> deliver(test at fakedomain.net): Apr 03 07:28:21 Info: auth input: test at fakedomain.net
> deliver(test at fakedomain.net): Apr 03 07:28:21 Info: auth input: uid=400
> deliver(test at fakedomain.net): Apr 03 07:28:21 Info: auth input: gid=400
> deliver(test at fakedomain.net): Apr 03 07:28:21 Info: auth input: home=/fakedomain.net/test
> deliver(test at fakedomain.net): Apr 03 07:28:21 Info: auth input: mail=maildir:/fakedomain.net/test
> deliver(test at fakedomain.net): Apr 03 07:28:21 Fatal: chroot(/srv/vmail) failed: Operation not permitted

You don't start deliver as root (or setuid root), so it can't do the
chrooting.

Usually MTAs don't allow starting deliver as root, so your only
possibilities are setuid root (see the wiki page) or not using chrooting
with deliver.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070403/a7085892/attachment.pgp 


More information about the dovecot mailing list