X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/39624250646933161646aa1de574cfc4965f2916..8ecfdf9e75d85409edbbff1d077ef6742fdf3002:/procmail/procmailrc diff --git a/procmail/procmailrc b/procmail/procmailrc index 35dbd26..372cb9b 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 @@ -64,10 +31,15 @@ INCLUDERC=$PMDIR/spamtraps INCLUDERC=$PMDIR/spammers INCLUDERC=$PMDIR/spamfilter -#INCLUDERC=$PMDIR/autoreplies - INCLUDERC=$PMDIR/addheaders +INCLUDERC=$PMDIR/handlespam + +#INCLUDERC=$PMDIR/autoreplies + INCLUDERC=$PMDIR/lurker +INCLUDERC=$PMDIR/spool + +INCLUDERC=$PMDIR/listquirks INCLUDERC=$PMRULES/all