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([EMAIL PROTECTED]): Apr 03 07:28:21 Info: auth input: [EMAIL > PROTECTED] > deliver([EMAIL PROTECTED]): Apr 03 07:28:21 Info: auth input: uid=400 > deliver([EMAIL PROTECTED]): Apr 03 07:28:21 Info: auth input: gid=400 > deliver([EMAIL PROTECTED]): Apr 03 07:28:21 Info: auth input: > home=/fakedomain.net/test > deliver([EMAIL PROTECTED]): Apr 03 07:28:21 Info: auth input: > mail=maildir:/fakedomain.net/test > deliver([EMAIL PROTECTED]): 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.
signature.asc
Description: This is a digitally signed message part
