mail-filter/procmail: add warning about FEATURES=sfperms interacting badly with some...
authorFabian Groffen <grobian@gentoo.org>
Mon, 2 Oct 2017 07:10:42 +0000 (09:10 +0200)
committerFabian Groffen <grobian@gentoo.org>
Mon, 2 Oct 2017 07:10:42 +0000 (09:10 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.1

mail-filter/procmail/procmail-3.22-r11.ebuild

index 00884540ec7f70d5a2538913f3763a2db9c45a8e..c717564afa4f91bb23d817420c07c979c2578cbd 100644 (file)
@@ -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
 }