commit:     c2934bfb028481f61337525422564b5d3ecb8821
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  2 07:10:42 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 07:10:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2934bfb

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 00884540ec7..c717564afa4 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
 }

Reply via email to