Chris PeBenito 17de1b
# postfix
Chris PeBenito 17de1b
/etc/postfix(/.*)?		gen_context(system_u:object_r:postfix_etc_t,s0)
Chris PeBenito 17de1b
ifdef(`distro_redhat', `
Chris PeBenito 17de1b
/usr/libexec/postfix/.*	--	gen_context(system_u:object_r:postfix_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/cleanup --	gen_context(system_u:object_r:postfix_cleanup_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/local --	gen_context(system_u:object_r:postfix_local_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/master --	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/pickup --	gen_context(system_u:object_r:postfix_pickup_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/(n)?qmgr -- gen_context(system_u:object_r:postfix_qmgr_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/showq --	gen_context(system_u:object_r:postfix_showq_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/smtp --	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/scache --	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/smtpd --	gen_context(system_u:object_r:postfix_smtpd_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/bounce --	gen_context(system_u:object_r:postfix_bounce_exec_t,s0)
Chris PeBenito 17de1b
/usr/libexec/postfix/pipe --	gen_context(system_u:object_r:postfix_pipe_exec_t,s0)
Chris PeBenito 17de1b
', `
Chris PeBenito 17de1b
/usr/lib/postfix/.*	--	gen_context(system_u:object_r:postfix_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/cleanup --	gen_context(system_u:object_r:postfix_cleanup_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/local	--	gen_context(system_u:object_r:postfix_local_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/master	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/pickup	--	gen_context(system_u:object_r:postfix_pickup_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/(n)?qmgr --	gen_context(system_u:object_r:postfix_qmgr_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/showq	--	gen_context(system_u:object_r:postfix_showq_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/smtp	--	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/scache	--	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/smtpd	--	gen_context(system_u:object_r:postfix_smtpd_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/bounce	--	gen_context(system_u:object_r:postfix_bounce_exec_t,s0)
Chris PeBenito 17de1b
/usr/lib/postfix/pipe	--	gen_context(system_u:object_r:postfix_pipe_exec_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
/etc/postfix/postfix-script.* -- gen_context(system_u:object_r:postfix_exec_t,s0)
Chris PeBenito 17de1b
/etc/postfix/prng_exch	--	gen_context(system_u:object_r:postfix_prng_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postalias	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postcat	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postdrop	--	gen_context(system_u:object_r:postfix_postdrop_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postfix	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postkick	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postlock	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postlog	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postmap	--	gen_context(system_u:object_r:postfix_map_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postqueue	--	gen_context(system_u:object_r:postfix_postqueue_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/postsuper	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix(/.*)?		gen_context(system_u:object_r:postfix_spool_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/maildrop(/.*)? gen_context(system_u:object_r:postfix_spool_maildrop_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/pid/.*	gen_context(system_u:object_r:postfix_var_run_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/private(/.*)? gen_context(system_u:object_r:postfix_private_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/public(/.*)? gen_context(system_u:object_r:postfix_public_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/bounce(/.*)? gen_context(system_u:object_r:postfix_spool_bounce_t,s0)
Chris PeBenito 17de1b
/var/spool/postfix/flush(/.*)?	gen_context(system_u:object_r:postfix_spool_flush_t,s0)