Chris PeBenito 04926d
# postfix
Chris PeBenito 04926d
/etc/postfix(/.*)?		gen_context(system_u:object_r:postfix_etc_t,s0)
Chris PeBenito 04926d
ifdef(`distro_redhat', `
Chris PeBenito 04926d
/etc/postfix/aliases.*		gen_context(system_u:object_r:etc_aliases_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/.*	--	gen_context(system_u:object_r:postfix_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/cleanup --	gen_context(system_u:object_r:postfix_cleanup_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/local	--	gen_context(system_u:object_r:postfix_local_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/master	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/pickup	--	gen_context(system_u:object_r:postfix_pickup_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/(n)?qmgr --	gen_context(system_u:object_r:postfix_qmgr_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/showq	--	gen_context(system_u:object_r:postfix_showq_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/smtp	--	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/scache	--	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/smtpd	--	gen_context(system_u:object_r:postfix_smtpd_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/bounce	--	gen_context(system_u:object_r:postfix_bounce_exec_t,s0)
Chris PeBenito 04926d
/usr/libexec/postfix/pipe	--	gen_context(system_u:object_r:postfix_pipe_exec_t,s0)
Chris PeBenito 04926d
', `
Chris PeBenito 04926d
/usr/lib/postfix/.*	--	gen_context(system_u:object_r:postfix_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/cleanup --	gen_context(system_u:object_r:postfix_cleanup_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/local	--	gen_context(system_u:object_r:postfix_local_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/master	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/pickup	--	gen_context(system_u:object_r:postfix_pickup_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/(n)?qmgr --	gen_context(system_u:object_r:postfix_qmgr_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/showq	--	gen_context(system_u:object_r:postfix_showq_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/smtp	--	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/scache	--	gen_context(system_u:object_r:postfix_smtp_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/smtpd	--	gen_context(system_u:object_r:postfix_smtpd_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/bounce	--	gen_context(system_u:object_r:postfix_bounce_exec_t,s0)
Chris PeBenito 04926d
/usr/lib/postfix/pipe	--	gen_context(system_u:object_r:postfix_pipe_exec_t,s0)
Chris PeBenito 04926d
')
Chris PeBenito 04926d
/etc/postfix/postfix-script.* -- gen_context(system_u:object_r:postfix_exec_t,s0)
Chris PeBenito 04926d
/etc/postfix/prng_exch	--	gen_context(system_u:object_r:postfix_prng_t,s0)
Chris PeBenito 04926d
/usr/sbin/postalias	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postcat	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postdrop	--	gen_context(system_u:object_r:postfix_postdrop_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postfix	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postkick	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postlock	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postlog	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postmap	--	gen_context(system_u:object_r:postfix_map_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postqueue	--	gen_context(system_u:object_r:postfix_postqueue_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/postsuper	--	gen_context(system_u:object_r:postfix_master_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/rmail		--	gen_context(system_u:object_r:sendmail_exec_t,s0)
Chris PeBenito 04926d
/usr/sbin/sendmail.postfix --	gen_context(system_u:object_r:sendmail_exec_t,s0)
Chris PeBenito 04926d
/var/spool/postfix(/.*)?	gen_context(system_u:object_r:postfix_spool_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/maildrop(/.*)? gen_context(system_u:object_r:postfix_spool_maildrop_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/pid	-d	gen_context(system_u:object_r:var_run_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/pid/.*	gen_context(system_u:object_r:postfix_var_run_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/private(/.*)? gen_context(system_u:object_r:postfix_private_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/public(/.*)? gen_context(system_u:object_r:postfix_public_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/bounce(/.*)? gen_context(system_u:object_r:postfix_spool_bounce_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/flush(/.*)?	gen_context(system_u:object_r:postfix_spool_flush_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/etc(/.*)?	gen_context(system_u:object_r:etc_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/lib(64)?(/.*)?	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/usr(/.*)?	gen_context(system_u:object_r:lib_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/lib(64)?/ld.*\.so.* -- gen_context(system_u:object_r:ld_so_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/lib(64)?/lib.*\.so.* -- gen_context(system_u:object_r:shlib_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/lib(64)?/[^/]*/lib.*\.so.* -- gen_context(system_u:object_r:shlib_t,s0)
Chris PeBenito 04926d
/var/spool/postfix/lib(64)?/devfsd/.*\.so.* -- gen_context(system_u:object_r:shlib_t,s0)