From ede6a5e4adbf5f6f345768cb15e2018363750c14 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 29 Feb 2008 17:24:43 +0100 Subject: [PATCH] fix admin eqdomain spamtrapping --- procmail/rules/admin | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/procmail/rules/admin b/procmail/rules/admin index 7ba755c..a08a038 100644 --- a/procmail/rules/admin +++ b/procmail/rules/admin @@ -4,18 +4,19 @@ # require that messages sent to foo=bar@admin.madduck.net have passed the # machine at bar, meaning have been Delivered-To there, or originating from # there: + DEST=admin + :0 *$ !^Delivered-To: .+@$EQ_DOMAIN *$ !^Received:$RE_SPACE+by $EQ_DOMAIN { LOG="rules/admin: spamtrap message as never passed $EQ_DOMAIN$NL" - SPAMTRAPPED="never passed eqdomain" :0 fw - |$FORMAIL -A"X-Spamtrapped: $SPAMTRAPPED" + |$FORMAIL -A"X-Spamtrapped: never passed eqdomain" + RETRAIN=spam + INCLUDERC=$PMDIR/handlespam } - DEST=admin - # DESTDIR="$BASE/.admin.`echo $EQ_DOMAIN | tr . _" # # :0 -- 2.39.5