Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-06 Thread Timo Sirainen
On 3.4.2007, at 16.20, Uldis Pakuls wrote: Timo Sirainen wrote: The other possibility is to disable chrooting with deliver. Is it possible to disable chrooting for deliver only? What about maildir/box paths then? What userdb do you use? There's no simple "disable chrooting" setting, but i

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-03 Thread Uldis Pakuls
Timo Sirainen wrote: >> >> **sieve plugin tries to forward mail... and fails when chroot enabled. >> >> Put the sendmail binary inside chroot and change sendmail_path setting. >> >> Although I don't know if even that will work. It might want to write >> >> directly to the mail spool instead of con

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-03 Thread Uldis Pakuls
Timo Sirainen wrote: > The other possibility is to disable chrooting with deliver. Is it possible to disable chrooting for deliver only? What about maildir/box paths then? Uldis

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-03 Thread Timo Sirainen
On Tue, 2007-04-03 at 15:10 +0300, Uldis Pakuls wrote: > deliver([EMAIL PROTECTED]): Apr 03 12:03:06 Fatal: > execv(/usr/lib/sendmail) failed: No such file or directory .. > **sieve plugin tries to forward mail... and fails when chroot enabled. Put the sendmail binary inside chroot and change send

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-03 Thread Uldis Pakuls
Timo Sirainen wrote: > On Tue, 2007-04-03 at 08:17 +0300, Uldis Pakuls wrote: > >> setuid works, but another problem arise: when chrooted, deliver can't >> find plugins >> e.g "Fatal: opendir (/usr/lib/dovedot/modules/lda) failed: no such >> file >> or directory" >> > > Fixed: http://doveco

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-02 Thread Timo Sirainen
On Tue, 2007-04-03 at 08:17 +0300, Uldis Pakuls wrote: > > setuid works, but another problem arise: when chrooted, deliver can't > find plugins > e.g "Fatal: opendir (/usr/lib/dovedot/modules/lda) failed: no such > file > or directory" Fixed: http://dovecot.org/list/dovecot-cvs/2007-April/008561.

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-02 Thread Uldis Pakuls
Timo Sirainen wrote: > 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. setuid works, but another problem a

Re: [Dovecot] 1.0rc29: LDA chroot problem

2007-04-02 Thread Timo Sirainen
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