Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 120124

Summary: policy prevents spamd working
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: spamassassinAssignee: Chip Turner <cturner>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.11.2-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-15 10:50:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114963    
Attachments:
Description Flags
spamd-audit
none
full spamassassin policy none

Description Tim Waugh 2004-04-06 08:37:31 UTC
Description of problem:
When fetching mail using Evolution with a filter running
'/usr/bin/spamc -c' (and spamd is running), I get this audit message
and lots of spam:

audit(1081239865.400:0): avc:  denied  { getattr } for  pid=3898
exe=/usr/bin/perl path=/home dev=hda6 ino=2
scontext=system_u:system_r:spamd_t
tcontext=system_u:object_r:home_root_t tclass=dir

Version-Release number of selected component (if applicable):
spamassassin-2.63-7
policy-1.9.2-12

How reproducible:
100%

Comment 1 Daniel Walsh 2004-04-06 10:44:18 UTC
Could you run the same command in non enforcing mode and submit the
avc messages.

Thanks Dan

Comment 2 Tim Waugh 2004-04-06 13:52:48 UTC
Created attachment 99141 [details]
spamd-audit

Comment 3 Colin Walters 2004-04-13 20:44:12 UTC
Hmm.  I think this is because half of my spamd policy never got into
Russell's tree.  I'll bug him...

Comment 4 Colin Walters 2004-04-14 15:16:10 UTC
Created attachment 99409 [details]
full spamassassin policy

Comment 5 Tim Waugh 2004-04-15 10:50:46 UTC
This is working in policy-1.11.2-6.