]> git.madduck.net Git - etc/mailfilter.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

remove all references to albatross, which we do not use anymore
authormartin f. krafft <madduck@seamus.madduck.net>
Fri, 17 Aug 2007 14:00:01 +0000 (16:00 +0200)
committermartin f. krafft <madduck@seamus.madduck.net>
Fri, 17 Aug 2007 14:00:46 +0000 (16:00 +0200)
procmail/defines
procmail/procmailrc
procmail/to-albatross [deleted file]

index 4d3a1882b610e894985f121bfcf01b90391de6c7..f37bdcac7b4e2914ae19549159f7bef9aec28604 100644 (file)
@@ -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" }
index 55565efbc1aae70a9c6ef803fd93f82e5fe584ec..0ecd6929668e6f449d7269180b30a3b34353fbcc 100755 (executable)
@@ -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 (file)
index 5ba4a2c..0000000
+++ /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'
-}