Blame policy/modules/services/dovecot.if
|
Chris PeBenito |
17de1b |
## <summary>Dovecot POP and IMAP mail server</summary>
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Create, read, write, and delete the dovecot spool files.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## <param name="domain">
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Domain allowed access.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## </param>
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
interface(`dovecot_manage_spool',`
|
|
Chris PeBenito |
17de1b |
gen_require(`
|
|
Chris PeBenito |
17de1b |
type dovecot_spool_t;
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern($1, dovecot_spool_t, dovecot_spool_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern($1, dovecot_spool_t, dovecot_spool_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
834401 |
|
|
Chris PeBenito |
834401 |
########################################
|
|
Chris PeBenito |
834401 |
## <summary>
|
|
Chris PeBenito |
834401 |
## Do not audit attempts to delete dovecot lib files.
|
|
Chris PeBenito |
834401 |
## </summary>
|
|
Chris PeBenito |
834401 |
## <param name="domain">
|
|
Chris PeBenito |
834401 |
## <summary>
|
|
Chris PeBenito |
834401 |
## Domain to not audit.
|
|
Chris PeBenito |
834401 |
## </summary>
|
|
Chris PeBenito |
834401 |
## </param>
|
|
Chris PeBenito |
834401 |
#
|
|
Chris PeBenito |
834401 |
interface(`dovecot_dontaudit_unlink_lib_files',`
|
|
Chris PeBenito |
834401 |
gen_require(`
|
|
Chris PeBenito |
834401 |
type dovecot_var_lib_t;
|
|
Chris PeBenito |
834401 |
')
|
|
Chris PeBenito |
834401 |
|
|
Chris PeBenito |
834401 |
dontaudit $1 dovecot_var_lib_t:file unlink;
|
|
Chris PeBenito |
834401 |
')
|