http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4758
Summary: spamd with -u option should change uid earler
Product: Spamassassin
Version: 3.1.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
If -u and -x options are used with spamd, e.g. "spamd -u spamuser -x" then in
3.1.0 spamd will change to spamuser only in children. In 3.0.x and before it
used to do it much earlier.
It is good to shed root privileges as soon as possible and in this case I don't
see a reason to run the parent as root - please correct me if I am wrong (I
tried asking on dev list, no reply yet).
This behaviour also causes issues with preload_modules_with_tmp_homedir which is
now ran always as root and therefore it can also initialize certain values and
files as root (e.g. without -H option and if using pyzor, razor and friends it
might create files as root in spamuser dir).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.