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

22 lines
505 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;
')
allow $1 dovecot_spool_t:dir rw_dir_perms;
allow $1 dovecot_spool_t:file create_file_perms;
allow $1 dovecot_spool_t:lnk_file create_lnk_perms;
')