X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/64af158a8fae169d3f24f82687f92cc7769bc92f..0ca203ebccad19e90b5826facf8ed0031c29682c:/procmail/procmailrc diff --git a/procmail/procmailrc b/procmail/procmailrc index fc4b83d..3a34ce5 100755 --- a/procmail/procmailrc +++ b/procmail/procmailrc @@ -8,70 +8,58 @@ 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/earlyquirks INCLUDERC=$PMDIR/defines +#VERBOSE=yes + +INCLUDERC=$PMDIR/logging +#INCLUDERC=$PMDIR/msgid-index + +INCLUDERC=$PMDIR/log-injected + INCLUDERC=$PMDIR/ignore INCLUDERC=$PMDIR/smsmail -#VERBOSE=yes - -INCLUDERC=$PMDIR/logging +INCLUDERC=$PMDIR/flag-test-messages INCLUDERC=$PMDIR/dejavu +INCLUDERC=$PMDIR/cleanup INCLUDERC=$PMDIR/eqdomains INCLUDERC=$PMDIR/duplicates -INCLUDERC=$PMDIR/to-gmail +INCLUDERC=$PMDIR/attach-mdn + +#INCLUDERC=$PMDIR/to-gmail INCLUDERC=$PMDIR/justme -INCLUDERC=$PMDIR/spamtraps -INCLUDERC=$PMDIR/spammers INCLUDERC=$PMDIR/spamfilter -INCLUDERC=$PMDIR/addheaders - INCLUDERC=$PMDIR/handlespam #INCLUDERC=$PMDIR/autoreplies +#INCLUDERC=$PMDIR/vacation + +INCLUDERC=$PMDIR/tickle -INCLUDERC=$PMDIR/lurker +INCLUDERC=$PMDIR/tnef-filter INCLUDERC=$PMDIR/listquirks +INCLUDERC=$PMDIR/subject-cleaner INCLUDERC=$PMRULES/all + +INCLUDERC=$PMDIR/addheaders + +#INCLUDERC=$PMDIR/lurker +INCLUDERC=$PMDIR/spool + +#TODO: only spool after delayed delivery + +INCLUDERC=$PMDIR/delay-delivery + +SWITCHRC=$PMDIR/deliver