X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/25e483e79c4bddd4a4f1f76e4462c7362a9db245..0db81b4fc15da6cfeb60377f705f9c161dd19689:/procmail/procmailrc diff --git a/procmail/procmailrc b/procmail/procmailrc index 0d32247..15ef1fb 100755 --- a/procmail/procmailrc +++ b/procmail/procmailrc @@ -8,39 +8,6 @@ PMDIR=$HOME/.etc/mailfilter/procmail INCLUDERC=$PMDIR/defer -FROM_ALBATROSS=! -:0 -* ^X-Been-There: madduck@albatross -{ - M=$MATCH - :0 - * M ?? ^\+.+\+\/[^@]+ - { - # we have two +, so it's a virtual domain - L=$MATCH - - :0 - * M ?? ^\+\/[^+]+ - { D=$MATCH } - - OT="$L@$D" - L - D - } - - :0 E - * M ?? ^\/\+?[^@]* - { OT="madduck$MATCH@madduck.net" } - M - - :0 fw - |formail -I "X-Original-To: $OT" -A'X-From-Albatross: yes' - OT - - FROM_ALBATROSS - LOG="log: *** received $MSGID from albatross$NL" -} - INCLUDERC=$PMDIR/defines INCLUDERC=$PMDIR/ignore @@ -50,8 +17,10 @@ INCLUDERC=$PMDIR/smsmail #VERBOSE=yes INCLUDERC=$PMDIR/logging +INCLUDERC=$PMDIR/msgid-index INCLUDERC=$PMDIR/dejavu +INCLUDERC=$PMDIR/cleanup INCLUDERC=$PMDIR/eqdomains INCLUDERC=$PMDIR/duplicates @@ -64,8 +33,16 @@ INCLUDERC=$PMDIR/spamtraps INCLUDERC=$PMDIR/spammers INCLUDERC=$PMDIR/spamfilter +INCLUDERC=$PMDIR/addheaders + +INCLUDERC=$PMDIR/handlespam + #INCLUDERC=$PMDIR/autoreplies +INCLUDERC=$PMDIR/tickle + +#INCLUDERC=$PMDIR/lurker +INCLUDERC=$PMDIR/spool -INCLUDERC=$PMDIR/lurker +INCLUDERC=$PMDIR/listquirks INCLUDERC=$PMRULES/all