Merge pull request #351 from 0xC0ncord/feature/postfix_dovecot_backend
This commit is contained in:
commit
a7ac056982
|
@ -61,6 +61,28 @@ interface(`dovecot_domtrans_deliver',`
|
|||
domtrans_pattern($1, dovecot_deliver_exec_t, dovecot_deliver_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read dovecot configuration content.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
## <rolecap/>
|
||||
#
|
||||
interface(`dovecot_read_config',`
|
||||
gen_require(`
|
||||
type dovecot_etc_t;
|
||||
')
|
||||
|
||||
files_search_etc($1)
|
||||
allow $1 dovecot_etc_t:dir list_dir_perms;
|
||||
allow $1 dovecot_etc_t:file read_file_perms;
|
||||
allow $1 dovecot_etc_t:lnk_file read_lnk_file_perms;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Create, read, write, and delete
|
||||
|
|
|
@ -596,6 +596,8 @@ corecmd_exec_bin(postfix_pipe_t)
|
|||
|
||||
optional_policy(`
|
||||
dovecot_domtrans_deliver(postfix_pipe_t)
|
||||
dovecot_read_config(postfix_pipe_t)
|
||||
dovecot_stream_connect(postfix_pipe_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
|
|
Loading…
Reference in New Issue