From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Thu, 11 Apr 2013 10:34:39 +0200 Subject: [refpolicy] [PATCH 09/13] Postfix creates defer(red) queue locations In-Reply-To: <1365669283-22005-1-git-send-email-sven.vermeulen@siphos.be> References: <1365669283-22005-1-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1365669283-22005-10-git-send-email-sven.vermeulen@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com At startup, the Postfix daemon will check if the defer and deferred queues are available. If not, it will create them. Introduce the proper file transitions to support this. Signed-off-by: Sven Vermeulen --- postfix.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postfix.te b/postfix.te index 3f45a93..069bc2e 100644 --- a/postfix.te +++ b/postfix.te @@ -244,6 +244,8 @@ create_dirs_pattern(postfix_master_t, postfix_spool_t, postfix_spool_maildrop_t) delete_files_pattern(postfix_master_t, postfix_spool_maildrop_t, postfix_spool_maildrop_t) rename_files_pattern(postfix_master_t, postfix_spool_maildrop_t, postfix_spool_maildrop_t) setattr_dirs_pattern(postfix_master_t, postfix_spool_maildrop_t, postfix_spool_maildrop_t) +filetrans_pattern(postfix_master_t, postfix_spool_t, postfix_spool_maildrop_t, dir, "defer") +filetrans_pattern(postfix_master_t, postfix_spool_t, postfix_spool_maildrop_t, dir, "deferred") filetrans_pattern(postfix_master_t, postfix_spool_t, postfix_spool_maildrop_t, dir, "maildrop") create_dirs_pattern(postfix_master_t, postfix_spool_t, postfix_var_run_t) -- 1.8.1.5