From b03ebf331e5a24fa85af0926b1706745906a3988 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 17 Aug 2007 16:00:01 +0200 Subject: [PATCH] remove all references to albatross, which we do not use anymore --- procmail/defines | 5 ----- procmail/procmailrc | 33 --------------------------------- procmail/to-albatross | 25 ------------------------- 3 files changed, 63 deletions(-) delete mode 100644 procmail/to-albatross 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' -} -- 2.39.5