Bug 146263

Summary: unable to fetch mail
Product: [Fedora] Fedora Reporter: Remigiusz Gorecki <rgorecki>
Component: dovecotAssignee: John Dennis <jdennis>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: tss, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-22 20:07:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remigiusz Gorecki 2005-01-26 15:34:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040831 Firefox/0.9.3

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):
dovecot-0.99.13-3.FC3

How reproducible:
Always

Steps to Reproduce:
1. chgrp users /home
2. chmod go-rwx /home
3.
    

Actual Results:  It is imposible to fetch any mail.

Additional info:

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.

Comment 1 John Dennis 2005-07-22 20:07:42 UTC
I believe this was fixed in mail-process.c 1.70 which is in our current 0.99.14
version of dovecot, closing...