selinux-policy/policy/modules/services/dovecot.if

39 lines
854 B
Plaintext
Raw Normal View History

2005-10-21 15:38:22 +00:00
## <summary>Dovecot POP and IMAP mail server</summary>
########################################
## <summary>
## Create, read, write, and delete the dovecot spool files.
## </summary>
## <param name="domain">
## <summary>
2005-10-21 15:38:22 +00:00
## Domain allowed access.
## </summary>
2005-10-21 15:38:22 +00:00
## </param>
#
interface(`dovecot_manage_spool',`
gen_require(`
type dovecot_spool_t;
')
2006-12-12 20:08:08 +00:00
manage_files_pattern($1,dovecot_spool_t,dovecot_spool_t)
manage_lnk_files_pattern($1,dovecot_spool_t,dovecot_spool_t)
2005-10-21 15:38:22 +00:00
')
########################################
## <summary>
## Do not audit attempts to delete dovecot lib files.
## </summary>
## <param name="domain">
## <summary>
## Domain to not audit.
## </summary>
## </param>
#
interface(`dovecot_dontaudit_unlink_lib_files',`
gen_require(`
type dovecot_var_lib_t;
')
dontaudit $1 dovecot_var_lib_t:file unlink;
')