Blame refpolicy/policy/modules/services/dovecot.if
|
Chris PeBenito |
29ce00 |
## <summary>Dovecot POP and IMAP mail server</summary>
|
|
Chris PeBenito |
29ce00 |
|
|
Chris PeBenito |
29ce00 |
########################################
|
|
Chris PeBenito |
29ce00 |
## <summary>
|
|
Chris PeBenito |
29ce00 |
## Create, read, write, and delete the dovecot spool files.
|
|
Chris PeBenito |
29ce00 |
## </summary>
|
|
Chris PeBenito |
29ce00 |
## <param name="domain">
|
|
Chris PeBenito |
29ce00 |
## Domain allowed access.
|
|
Chris PeBenito |
29ce00 |
## </param>
|
|
Chris PeBenito |
29ce00 |
#
|
|
Chris PeBenito |
29ce00 |
interface(`dovecot_manage_spool',`
|
|
Chris PeBenito |
29ce00 |
gen_require(`
|
|
Chris PeBenito |
29ce00 |
type dovecot_spool_t;
|
|
Chris PeBenito |
29ce00 |
class dir rw_dir_perms;
|
|
Chris PeBenito |
29ce00 |
class file create_file_perms;
|
|
Chris PeBenito |
29ce00 |
class lnk_file create_lnk_perms;
|
|
Chris PeBenito |
29ce00 |
')
|
|
Chris PeBenito |
29ce00 |
|
|
Chris PeBenito |
29ce00 |
allow $1 dovecot_spool_t:dir rw_dir_perms;
|
|
Chris PeBenito |
29ce00 |
allow $1 dovecot_spool_t:file create_file_perms;
|
|
Chris PeBenito |
29ce00 |
allow $1 dovecot_spool_t:lnk_file create_lnk_perms;
|
|
Chris PeBenito |
29ce00 |
')
|