Skip to contentSkip to conversation

Spam can connect to smtp port and can use mysql backend

PATCH [email protected] 2 participants 2 messages May 30, 2007 – Jun 11, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/services/spamassassin.te +6 -0
@@ -101,6 +99,7 @@
 corenet_tcp_bind_all_nodes(spamd_t)
 corenet_tcp_bind_spamd_port(spamd_t)
 corenet_tcp_connect_razor_port(spamd_t)
+corenet_tcp_connect_smtp_port(spamd_t)
 corenet_sendrecv_razor_client_packets(spamd_t)
 corenet_sendrecv_spamd_server_packets(spamd_t)
 # spamassassin 3.1 needs this for its
@@ -185,6 +184,11 @@
 ')
 
 optional_policy(`
+	mysql_search_db(spamd_t)
+	mysql_stream_connect(spamd_t)
+')
+
+optional_policy(`
 	nis_use_ypbind(spamd_t)
 ')
 

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 11 lines · On Wed, 2007-05-30 at 10:20 -0400, [email protected] wrote:
policy/modules/services/spamassassin.te +1 -0
@@ -101,6 +99,7 @@
 corenet_tcp_bind_all_nodes(spamd_t)
 corenet_tcp_bind_spamd_port(spamd_t)
 corenet_tcp_connect_razor_port(spamd_t)
+corenet_tcp_connect_smtp_port(spamd_t)
 corenet_sendrecv_razor_client_packets(spamd_t)
 corenet_sendrecv_spamd_server_packets(spamd_t)
 # spamassassin 3.1 needs this for its

policy/modules/services/spamassassin.te line 193

Quoted 10 lines
policy/modules/services/spamassassin.te +5 -0
@@ -185,6 +184,11 @@
 ')
 
 optional_policy(`
+	mysql_search_db(spamd_t)
+	mysql_stream_connect(spamd_t)
+')
+
+optional_policy(`
 	nis_use_ypbind(spamd_t)
 ')

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.