Bug 2655 - maildrop needs to be group writable
Summary: maildrop needs to be group writable
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Daniel Lucio
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 06:28 CEST by Robert Riches
Modified: 2012-01-17 14:54 CET (History)
3 users (show)

See Also:
Source RPM: postfix
CVE:
Status comment:


Attachments

Description Robert Riches 2011-09-07 06:28:47 CEST
Directory /var/spool/postfix/maildrop was created with mode 755.  The man page for postdrop says it is sgid postdrop (which it is) in order to be able to write to the maildrop directory.  That implies that /var/spool/postfix/maildrop needs to be 775 (g+w relative to how it was created).  When I manually made the change in mode, postfix went from non-working to working for me.  My installation is Mageia 1 with postfix-2.7.4-1.mga1.
Remco Rijnders 2011-09-07 08:33:18 CEST

CC: (none) => remco

Samuel Verschelde 2011-10-01 17:48:53 CEST

CC: (none) => stormi
Assignee: bugsquad => dlucio
Source RPM: (none) => postfix

Comment 1 Daniel Lucio 2011-10-02 08:04:05 CEST
initial dir permitioswere 730, i did chante them to 770 since it was no necesary to give pemitio worldwide.

Please test.
Comment 2 Robert Riches 2011-10-03 01:25:08 CEST
I manually changed my /var/spool/postfix/maildrop to 770, from the 775 I had been using, and both outbound and inbound mail appears to still work.  I believe the test was successful.

Daniel, it is interesting (but probably not too very important) that you say its initial permissions were 730.  I definitely saw it initially with 755, g+rx relative to what the 730 you stated.  In fact, everything in my /var/spool/postfix is 755 except for maildrop (now 770) and saved (700).  The only mode difference "rpm -V postfix" reports in /var/spool/postfix is maildrop.  I'm running standard security level, but I don't think that would affect "rpm -V ..." checking.  My postfix version is postfix-2.7.4-1.mga1
Comment 3 Robert Riches 2011-10-15 22:04:01 CEST
Updated to postfix-2.7.4-1.2.mga1, which changed /var/spool/postfix/maildrop to mode 730, and both outbound and inbound mail appears to be working.  Thank you.
Comment 4 Marja Van Waes 2012-01-17 14:54:56 CET
(In reply to comment #3)
> Updated to postfix-2.7.4-1.2.mga1, which changed /var/spool/postfix/maildrop to
> mode 730, and both outbound and inbound mail appears to be working.  Thank you.

730, so group writeable, and everything works. Closing as fixed :)

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.