From: martin f. krafft Date: Fri, 17 Aug 2007 14:00:01 +0000 (+0200) Subject: remove all references to albatross, which we do not use anymore X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/b03ebf331e5a24fa85af0926b1706745906a3988?ds=sidebyside remove all references to albatross, which we do not use anymore --- diff --git a/procmail/defines b/procmail/defines index 4d3a188..f37bdca 100644 --- a/procmail/defines +++ b/procmail/defines @@ -109,11 +109,6 @@ INCLUDERC=$PMDIR/get-msgid *$ ^Subject:$RE_EXTRACT_HEADER_VALUE { SUBJECT="$MATCH" } -# TODO: can be removed as soon as albatross is out of the loop -:0 fw -* ^X-Original-To-Saved: \/.* -|$FORMAIL -R X-Original-To-Saved X-Original-To - :0 *$ ^X-Original-To:$RE_EXTRACT_HEADER_VALUE { ORIGINAL_TO="$MATCH" } diff --git a/procmail/procmailrc b/procmail/procmailrc index 55565ef..0ecd692 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 diff --git a/procmail/to-albatross b/procmail/to-albatross deleted file mode 100644 index 5ba4a2c..0000000 --- a/procmail/to-albatross +++ /dev/null @@ -1,25 +0,0 @@ -:0 c -*$ ! $FROM_ALBATROSS -* !^X-Mailer: swaksDISABLED -{ - :0 f - |$FORMAIL -R X-Original-To X-Original-To-Saved - - :0 - * ^Return-Path: *<\/[^>]* - { SENDMAILFLAGS="$SENDMAILFLAGS -f $MATCH" } - - LOG="log: *** bouncing message $MSGID to albatross$NL" - TRAP="" - - :0 - ! madduck${EXTENSION:++$EXTENSION}@albatross.madduck.net -} - -:0 E -{ - LOG="log: *** received $MSGID from albatross$NL" - - :0 fw - |$FORMAIL -A'X-From-Albatross: yes' -}