-----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 noticing) */ restrict_access_set_env(system_user, uid, gid, chroot_dir, set->first_valid_gid, set->last_valid_gid, set->mail_extra_groups);
system_user is not set.
I default system_user to user, it seems to work. See attached patch.
dovecot: Jul 06 11:59:15 Info: IMAP(dvtest3) [23684]: Effective groups: primary=30006 secondary=8,30004,30006
Hoewever, is it correct?
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRo4TLC9SORjhbDpvAQLw7Qf+I7s2zj5lfDb2A0i5VLUPTZQDgv7huHzX 7Lq+8F/nP4PdEaeBWv6v5GDBzrVOLjMuHB4RrUt7wdlSXtLcFnqoMlqLJHsf+wN9 uBFoDjP7gZT5D5Xve/KAZzDuOl+G/Twc2W5DnMVxvRC2udXN3DJY90EV6852Qubw P1lzGN2ymb9wkvMNCbzmJqYc1llsc+Ohbj5/cBCrV2o9FYEOpqFB5J1QbgbeFltK fuuR3gruVpAGM5kiV6MGP/zqJJGrDcuUIeAL50qstkk/saE7YHyB3xV3Falyp+eI MFPLnEhfhzKX0kbgzyJVwZeYRvMW49QO5kca05OJib4mWwKN2Z4Pcw== =Lxy6 -----END PGP SIGNATURE-----