Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=184319
Summary: Spamassassin and SELinux Product: Fedora Core Version: fc4 Platform: i386 OS/Version: Linux Status: NEW Severity: normal Priority: normal Component: spamassassin AssignedTo: wtogami@redhat.com ReportedBy: rsandu@softhome.net CC: fedora-perl-devel- list@redhat.com,felicity@kluge.net,jm@jmason.org,parkerm @pobox.com,reg+redhat@sidney.com,wtogami@redhat.com
Description of problem:
As described in SpamAssassin's man page, the program must create user_prefs in $HOME/.spamassassin, where $HOME is the homedirectory of the user spamassassin is run under.
When spamc is invoked from Postfix's master.cf file (as described at http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix) and SELinux is enabled, Spamassassin can't create user_prefs file in /home/someuser, even if "someuser" was created on purpose.
Version-Release number of selected component (if applicable):
spamassassin-3.0.4-2.fc4 selinux-policy-targeted-1.27.1-2.22 postfix-2.2.2-2 (stock Fedora Core 4 + updates March 06, 2006)
How reproducible: Always.
Steps to Reproduce: 1. Invoke Spamassassin as a filter, from Postfix, as described in http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix, with SELinux enabled. Postfix users should be virtual users.
Actual results: The process can't write user_prefs under /home/someuser.
Expected results: A predefined system user should be created when installing Spamassassin (by the rpm), with an appropiate, FHS-compliant homedirectory, in order to provide a place to create user_prefs, when Postfix users are virtual users and SELinux is enabled.
Spamassassin docs should indicate the correct way to proceed/configure in such cases.
Additional info:
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Spamassassin and SELinux
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=184319
wtogami@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dwalsh@redhat.com
------- Additional Comments From wtogami@redhat.com 2006-03-07 18:04 EST ------- I believe this is fixed in FC5 now. I don't know if we are able to backport this for a FC4 update.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: Spamassassin and SELinux
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=184319
wtogami@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX
------- Additional Comments From wtogami@redhat.com 2006-06-28 10:32 EST ------- Sorry, we will not backport this to FC4.
perl-devel@lists.fedoraproject.org