policy_module(milter-extras,0.0.3) #============= extra stuff that needs adding to other modules ============= #============= for milter policy module support to work ============= require { type postfix_smtp_t; type sendmail_t; type spamc_t; type spamd_t; type system_mail_t; } #============= postfix_smtp_t ============== milter_stream_connect_all(postfix_smtp_t) #============= sendmail_t ============== milter_stream_connect_all(sendmail_t) #============= spamd_t ============== milter_manage_spamass_state(spamc_t) #============= spamd_t ============== milter_manage_spamass_state(spamd_t) #============= system_mail_t ============== # newaliases runs as system_mail_t when the sendmail initscript does a restart milter_getattr_all_sockets(system_mail_t)