## Filter used for removing unsolicited email.
# cjp: TODO: integrate old spamassassin_macros.te
########################################
##
## Execute the standalone spamassassin
## program in the caller directory.
##
##
## Domain allowed access.
##
#
interface(`spamassassin_exec',`
gen_require(`
type spamassassin_exec_t;
')
can_exec($1,spamassassin_exec_t)
')
########################################
##
## Execute the spamassassin client
## program in the caller directory.
##
##
## Domain allowed access.
##
#
interface(`spamassassin_exec_client',`
gen_require(`
type spamc_exec_t;
')
can_exec($1,spamc_exec_t)
')