23 lines
571 B
Plaintext
23 lines
571 B
Plaintext
## <summary>Dovecot POP and IMAP mail server</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Create, read, write, and delete the dovecot spool files.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## Domain allowed access.
|
|
## </param>
|
|
#
|
|
interface(`dovecot_manage_spool',`
|
|
gen_require(`
|
|
type dovecot_spool_t;
|
|
class dir rw_dir_perms;
|
|
class file create_file_perms;
|
|
class lnk_file create_lnk_perms;
|
|
')
|
|
|
|
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;
|
|
')
|