commit: 4d37fd81193690bd67e183eb41c93570a62a099d
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Wed Aug 27 14:26:11 2014 +0000
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Sep 21 14:03:49 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=4d37fd81
Fix postfix - enable output on terminals for debugging and troubleshooting
---
policy/modules/contrib/postfix.te | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/policy/modules/contrib/postfix.te
b/policy/modules/contrib/postfix.te
index a953646..c27fbf1 100644
--- a/policy/modules/contrib/postfix.te
+++ b/policy/modules/contrib/postfix.te
@@ -805,11 +805,25 @@ userdom_home_filetrans_user_home_dir(postfix_virtual_t)
userdom_user_home_dir_filetrans_user_home_content(postfix_virtual_t, { file
dir })
ifdef(`distro_gentoo',`
+
+ #####################################
+ #
+ # postfix_t policy
+ #
+
# Not made part of mail infra anymore (previously mta_mailserver_domain)
init_daemon_domain(postfix_t, postfix_master_exec_t)
#####################################
#
+ # postfix_master_t policy
+ #
+
+ # Output in case of start or status failure (rc-service postfix status)
+ userdom_use_user_terminals(postfix_master_t)
+
+ #####################################
+ #
# Local postfix postdrop policy
#