Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 841
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Grant Goodyear <g2boojum@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Eric Floehr <eric@floehr.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 841 depends on: Show dependency tree
Bug 841 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-02-24 20:07 0000
For a non-root user, postdrop fails with

"warning: mail_queue_enter: create file maildrop/###.###: Permission denied"

where, ###.### is some number.  The reason is that postfix isn't installed with 
setgid (install.cf), so postdrop runs with the permissions of the user who runs 
it (postdrop is called by postfix's sendmail replacement, which is called by 
mail programs like mutt).  But /var/spool/postfix/maildrop is installed with 
user/group postfix/postdrop and isn't world-writable.  Postdrop needs to write 
to that directory, so if setgid isn't set in the postfix install/build, which 
appears to not be, /var/spool/postfix/maildrop should be world-writable (the 
Mandrake postfix install does this).  However, the better answer is to set 
setgid on the postfix install.

The URL above has more info: Scroll down to "Protecting your maildrop 
directory".

------- Comment #1 From Martin Schlemmer (RETIRED) 2002-02-27 17:22:40 0000 -------
latest postfix fixes this problem .. thanks woodchip :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug