Bug 844784
Summary: | SElinux Policy for Spampd | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Manuel Schilt <baboo> | ||||
Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 16 | CC: | dwalsh | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-11-20 02:59:23 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Thank you for this local policy with your description. Fixed in selinux-policy-3.10.0-91.fc16 selinux-policy-3.10.0-96.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-96.fc16 Package selinux-policy-3.10.0-96.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-96.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18243/selinux-policy-3.10.0-96.fc16 then log in and leave karma (feedback). selinux-policy-3.10.0-96.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 601565 [details] Archive with policy module for spampd I created a SELinux Policy module for Spampd Tested with the following packages: spampd-2.30-10.noarch spamassassin-3.3.2-9.fc16.x86_64 postfix-2.8.11-1.fc16.x86_64 Notes: 1. Add network_port(spampd,tcp,10026,s0) and network_port(spampd,tcp,10027,s0) to corenetwork definition or run these commands: semanage port -a -t spampd_port_t -p tcp 10026 semanage port -a -t spampd_port_t -p tcp 10027 .. after the module is loaded otherwise type is not resolved 2. Add these rules to the postfix policy: # connect to spampd allow postfix_smtpd_t spampd_port_t:tcp_socket name_connect; # filtering with spampd before postfix accepts mail allow postfix_master_t spampd_port_t:tcp_socket name_bind;