policy_module(svnmailer-extras, 0.0.9)

########################################
#
# svnmailer additional policy
# (for rules that should be in other modules)
#

require {
	type httpd_t;
	type httpd_sys_script_t;
}

# svnmailer is usually called from the post-commit hook of subversion
# using mod_dav_svn, which will be running in the httpd_sys_script_t domain
svnmailer_domtrans(httpd_sys_script_t)

# the log file can capture errors from httpd and svn-mailer
svnmailer_manage_log(httpd_sys_script_t)
