From: dominick.grift@gmail.com (Dominick Grift) Date: Wed, 17 Apr 2013 18:41:55 +0200 Subject: [refpolicy] [PATCH 09/13] Postfix creates defer(red) queue locations In-Reply-To: <1365669283-22005-10-git-send-email-sven.vermeulen@siphos.be> References: <1365669283-22005-1-git-send-email-sven.vermeulen@siphos.be> <1365669283-22005-10-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1366216915.2803.47.camel@x220.localdomain> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Thu, 2013-04-11 at 10:34 +0200, Sven Vermeulen wrote: > 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 Merged, thanks > --- > 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)