From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3E70813838B for ; Sun, 21 Sep 2014 14:08:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6022BE09F9; Sun, 21 Sep 2014 14:08:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A14B2E09F9 for ; Sun, 21 Sep 2014 14:08:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDD5E3401FA for ; Sun, 21 Sep 2014 14:08:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 481B028B6 for ; Sun, 21 Sep 2014 14:08:22 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1411308229.4d37fd81193690bd67e183eb41c93570a62a099d.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:mailinfra commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/postfix.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 4d37fd81193690bd67e183eb41c93570a62a099d X-VCS-Branch: mailinfra Date: Sun, 21 Sep 2014 14:08:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1e4171d6-1347-4ee6-8f3d-36f022eb110e X-Archives-Hash: ab52ad5786b33a245fc2cb5f9977986b commit: 4d37fd81193690bd67e183eb41c93570a62a099d Author: Sven Vermeulen siphos be> AuthorDate: Wed Aug 27 14:26:11 2014 +0000 Commit: Sven Vermeulen gentoo 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 #