Add networking rules for spamd to connect to mysql/postgresql over the network, from Chris St. Pierre.
This commit is contained in:
parent
45696ab282
commit
87a9469fc9
|
@ -1,5 +1,5 @@
|
|||
|
||||
policy_module(spamassassin, 2.2.0)
|
||||
policy_module(spamassassin, 2.2.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
@ -410,6 +410,9 @@ optional_policy(`
|
|||
')
|
||||
|
||||
optional_policy(`
|
||||
corenet_tcp_connect_mysqld_port(spamd_t)
|
||||
corenet_sendrecv_mysqld_client_packets(spamd_t)
|
||||
|
||||
mysql_search_db(spamd_t)
|
||||
mysql_stream_connect(spamd_t)
|
||||
')
|
||||
|
@ -423,6 +426,9 @@ optional_policy(`
|
|||
')
|
||||
|
||||
optional_policy(`
|
||||
corenet_tcp_connect_postgresql_port(spamd_t)
|
||||
corenet_sendrecv_postgresql_client_packets(spamd_t)
|
||||
|
||||
postgresql_stream_connect(spamd_t)
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue