Re: [Dovecot] bug: no initgroup() after login (was Re: Dovecot shared mailbox folder problem)

2007-08-10 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 9 Aug 2007, Timo Sirainen wrote: It should be set if you use userdb passwd. For other userdbs you need to return it youself. For example with LDAP: user_attrs = uid=system_user,..etc.. Hmm, that's a bummer! It works with this setting. I

Re: [Dovecot] bug: no initgroup() after login (was Re: Dovecot shared mailbox folder problem)

2007-08-09 Thread Timo Sirainen
On Fri, 2007-07-06 at 11:29 +0200, Steffen Kaiser wrote: > /* setup environment - set the most important environment first > (paranoia about filling up environment without noticing) */ > restrict_access_set_env(system_user, uid, gid, chroot_dir, >

Re: [Dovecot] bug: no initgroup() after login (was Re: Dovecot shared mailbox folder problem)

2007-07-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 6 Jul 2007, Steffen Kaiser wrote: dvtest3. Maybe the problem is that in create_mail_process() when doing: /* setup environment - set the most important environment first (paranoia about filling up environment without noti

[Dovecot] bug: no initgroup() after login (was Re: Dovecot shared mailbox folder problem)

2007-07-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Jul 2007, Steffen Kaiser wrote: Hello, after adding plenty of i_info()'s into: ./src/lib/restrict-access.c ./src/imap/main.c ./src/master/mail-process.c I found out what the basic problem is, although not why the access to Maildir was s