Bug 60112 - procmail fails to create mail spools when invoked by postfix
procmail fails to create mail spools when invoked by postfix
Product: Red Hat Linux
Classification: Retired
Component: procmail (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Brock Organ
Depends On:
Blocks: 60073
  Show dependency treegraph
Reported: 2002-02-20 07:04 EST by Bernhard Rosenkraenzer
Modified: 2007-04-18 12:40 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-02-20 07:05:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bernhard Rosenkraenzer 2002-02-20 07:04:31 EST
Description of Problem: 
When used as delivery agent for postfix, mail spools for new users aren't created. 
Since postfix doesn't run as root, procmail can't create /var/spool/mail/username if 
invoked by postfix rather than sendmail. 
Version-Release number of selected component (if applicable): 
Suggested fix: 
Make procmail setgid and drop privileges right after creating the mail spool and setting 
sane permissions on it.
Comment 1 Trond Eivind Glomsrxd 2002-02-20 11:04:00 EST
procmail is not getting a suid bit - it's not that trustworthy.

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