]> git.donarmstrong.com Git - remote_mail.git/blobdiff - .procmailrc
fix sender rewrite rule
[remote_mail.git] / .procmailrc
index 3233379b1db136e890ac7e4ca882a2dbaf42a130..48dbd1d02237ed7717436f3421a5ebc38c8bd534 100644 (file)
@@ -163,7 +163,7 @@ lists.debian.org/
 
 # Buildds
 :0:
-* ^Return-Path:.*buildd@ignes.donarmstrong.com
+* ^Return-Path:.*buildd@.*.donarmstrong.com
 buildd.donarmstrong.com/
 
 # OFTC stuff
@@ -218,12 +218,12 @@ lists/`echo $MATCH | sed -e 's/[\/]/_/g'`/
 lists/`echo $MATCH | sed -e 's/[\/]/_/g'`/
 
 :0:
-* ^Sender: \/[^@]+-bounces?
-lists/`echo $MATCH | sed -e 's/\-bounces*//g; s/[\/]/_/g'`/
+* ^Sender: +<?\/[^@]+-bounces?
+lists/`echo $MATCH | sed -e 's/\-bounces*//g; s/.*<//g; s/[\/]/_/g; y/A-Z/a-z/'`/
 
 :0:   
 * ^X-BeenThere: \/[^@]+
-lists/`echo $MATCH | sed -e 's/[\/]/_/g'`/
+lists/`echo $MATCH | sed -e 's/<//g; s/[\/]/_/g'`/
 
 
 # Dumb apache mailing lists