Bug 676605

Summary: NNTP and spamd blocked by SELinux
Product: [Fedora] Fedora Reporter: Jan "Yenya" Kasprzak <kas>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: dwalsh, jkaluza, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.9.7-31.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-24 20:53:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan "Yenya" Kasprzak 2011-02-10 11:57:01 UTC
Description of problem:
When the NNTP gateway is set up in mailman mailing list configuration, it is blocked by SELinux, because mailman cannot connect to the NNTP port. Also, when the SpamAssassin filtering with spamd is enabled, mailman cannot connect to the spamd port.

Version-Release number of selected component (if applicable):
mailman-2.1.13-6.fc14.1.x86_64

Additional info:
Adding the following three rules to the SELinux policy fixes the problem:

allow mailman_mail_t spamd_port_t:tcp_socket name_connect;
allow mailman_queue_t innd_port_t:tcp_socket name_connect;
allow mailman_mail_t innd_port_t:tcp_socket name_connect;

Comment 1 Jan Kaluža 2011-02-14 07:40:21 UTC
Thanks for report, changing component to selinux-policy.

Comment 2 Miroslav Grepl 2011-02-14 11:26:05 UTC
Will add.

Comment 3 Miroslav Grepl 2011-02-14 14:25:59 UTC
Fixed in selinux-policy-3.9.7-30.fc14

Comment 4 Jan "Yenya" Kasprzak 2011-02-21 11:49:18 UTC
Works for me with 3.9.7-31.fc14, thanks!

Comment 5 Fedora Update System 2011-02-21 20:27:53 UTC
selinux-policy-3.9.7-31.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-31.fc14

Comment 6 Fedora Update System 2011-02-22 04:53:28 UTC
selinux-policy-3.9.7-31.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-31.fc14

Comment 7 Fedora Update System 2011-02-24 20:52:48 UTC
selinux-policy-3.9.7-31.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.