Red Hat Bugzilla – Bug 146263
unable to fetch mail
Last modified: 2014-01-21 17:51:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Description of problem:
Dovecot can't fetch any mail (even those stored in /var/spool/mail) if
user the parent of the user's home directory hasn't execute permition
for group root (x - bit).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. chgrp users /home
2. chmod go-rwx /home
Actual Results: It is imposible to fetch any mail.
This problem is now fixed but in the test version of dovecot (e.g.
dovecot-1.0-test60 - see www.dovecot.org). It can be fixed by doing
not only setreuid(gid, gid) (in file mail-process.c) but first first
setregid(gid, gid) have to be done. Now after setreuid(gid, gid) is
executed user still belongs to the group root.
I believe this was fixed in mail-process.c 1.70 which is in our current 0.99.14
version of dovecot, closing...