Chris PeBenito f932d8
## <summary>Filter used for removing unsolicited email.</summary>
Chris PeBenito f932d8
Chris PeBenito f932d8
# cjp: TODO: integrate old spamassassin_macros.te
Chris PeBenito 3e6c81
Chris PeBenito 3e6c81
########################################
Chris PeBenito 3e6c81
## <summary>
Chris PeBenito 3e6c81
##	Execute the standalone spamassassin
Chris PeBenito 3e6c81
##	program in the caller directory.
Chris PeBenito 3e6c81
## </summary>
Chris PeBenito 3e6c81
## <param name="domain">
Chris PeBenito 3e6c81
##	Domain allowed access.
Chris PeBenito 3e6c81
## </param>
Chris PeBenito 3e6c81
#
Chris PeBenito 3e6c81
interface(`spamassassin_exec',`
Chris PeBenito 3e6c81
	gen_require(`
Chris PeBenito 3e6c81
		type spamassassin_exec_t;
Chris PeBenito 3e6c81
	')
Chris PeBenito 3e6c81
Chris PeBenito 3e6c81
	can_exec($1,spamassassin_exec_t)
Chris PeBenito 3e6c81
Chris PeBenito 3e6c81
')
Chris PeBenito 3e6c81
Chris PeBenito 3e6c81
########################################
Chris PeBenito 3e6c81
## <summary>
Chris PeBenito 3e6c81
##	Execute the spamassassin client
Chris PeBenito 3e6c81
##	program in the caller directory.
Chris PeBenito 3e6c81
## </summary>
Chris PeBenito 3e6c81
## <param name="domain">
Chris PeBenito 3e6c81
##	Domain allowed access.
Chris PeBenito 3e6c81
## </param>
Chris PeBenito 3e6c81
#
Chris PeBenito 3e6c81
interface(`spamassassin_exec_client',`
Chris PeBenito 3e6c81
	gen_require(`
Chris PeBenito 3e6c81
		type spamc_exec_t;
Chris PeBenito 3e6c81
	')
Chris PeBenito 3e6c81
Chris PeBenito 3e6c81
	can_exec($1,spamc_exec_t)
Chris PeBenito 3e6c81
')