selinux-refpolicy/targeted/file_contexts/program/mailman.fc

25 lines
1.2 KiB
Plaintext

# mailman list server
/var/lib/mailman(/.*)? system_u:object_r:mailman_data_t:s0
/var/log/mailman(/.*)? system_u:object_r:mailman_log_t:s0
/usr/lib/mailman/cron/.* -- system_u:object_r:mailman_queue_exec_t:s0
/usr/lib/mailman/bin/mailmanctl -- system_u:object_r:mailman_mail_exec_t:s0
/var/run/mailman(/.*)? system_u:object_r:mailman_lock_t:s0
/var/lib/mailman/archives(/.*)? system_u:object_r:mailman_archive_t:s0
ifdef(`distro_debian', `
/usr/lib/cgi-bin/mailman/.* -- system_u:object_r:mailman_cgi_exec_t:s0
/usr/lib/mailman/mail/wrapper -- system_u:object_r:mailman_mail_exec_t:s0
/usr/mailman/mail/wrapper -- system_u:object_r:mailman_mail_exec_t:s0
/etc/cron\.daily/mailman -- system_u:object_r:mailman_queue_exec_t:s0
/etc/cron\.monthly/mailman -- system_u:object_r:mailman_queue_exec_t:s0
')
ifdef(`distro_redhat', `
/usr/lib/mailman/cgi-bin/.* -- system_u:object_r:mailman_cgi_exec_t:s0
/var/lock/mailman(/.*)? system_u:object_r:mailman_lock_t:s0
/usr/lib/mailman/scripts/mailman -- system_u:object_r:mailman_mail_exec_t:s0
/usr/lib/mailman/bin/qrunner -- system_u:object_r:mailman_queue_exec_t:s0
/etc/mailman(/.*)? system_u:object_r:mailman_data_t:s0
/var/spool/mailman(/.*)? system_u:object_r:mailman_data_t:s0
')