]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
More fixes for postfix and postfix maildrop
authorMiroslav Grepl <mgrepl@redhat.com>
Tue, 15 Nov 2011 11:03:21 +0000 (11:03 +0000)
committerMiroslav Grepl <mgrepl@redhat.com>
Tue, 15 Nov 2011 11:03:21 +0000 (11:03 +0000)
policy/modules/services/postfix.te

index 3a59bac90fac2f1c1834051f540968a3f42f398c..94e68b216a26e0eb60193a817e4224ef02404f17 100644 (file)
@@ -152,6 +152,7 @@ manage_lnk_files_pattern(postfix_master_t, postfix_spool_flush_t, postfix_spool_
 
 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)
+rw_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)
 
 kernel_read_all_sysctls(postfix_master_t)
@@ -637,6 +638,8 @@ allow postfix_smtp_t postfix_prng_t:file rw_file_perms;
 
 allow postfix_smtp_t postfix_spool_t:file rw_file_perms;
 
+rw_files_pattern(postfix_master_t, postfix_spool_maildrop_t, postfix_spool_maildrop_t)
+
 files_search_all_mountpoints(postfix_smtp_t)
 
 optional_policy(`