From c2934bfb028481f61337525422564b5d3ecb8821 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 2 Oct 2017 09:10:42 +0200 Subject: [PATCH] mail-filter/procmail: add warning about FEATURES=sfperms interacting badly with some MTAs, bug #632102 Package-Manager: Portage-2.3.8, Repoman-2.3.1 --- mail-filter/procmail/procmail-3.22-r11.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mail-filter/procmail/procmail-3.22-r11.ebuild b/mail-filter/procmail/procmail-3.22-r11.ebuild index 00884540ec7f..c717564afa4f 100644 --- a/mail-filter/procmail/procmail-3.22-r11.ebuild +++ b/mail-filter/procmail/procmail-3.22-r11.ebuild @@ -109,4 +109,12 @@ pkg_postinst() { elog "/etc/procmailrc, for example:" elog "\tDEFAULT=\$HOME/.maildir/" fi + if has sfperms ${FEATURES}; then + ewarn "FEATURES=sfperms removes the read-bit for others from" + ewarn " /usr/bin/procmail" + ewarn " /usr/bin/lockfile" + ewarn "If you use procmail from an MTA like Exim, you need to" + ewarn "re-add the read-bit or avoid the MTA checking the binary" + ewarn "exists." + fi } -- 2.26.2