Bug 676605 - NNTP and spamd blocked by SELinux
Summary: NNTP and spamd blocked by SELinux
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 11:57 UTC by Jan "Yenya" Kasprzak
Modified: 2011-02-24 20:53 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.7-31.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-24 20:53:29 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.