]> git.donarmstrong.com Git - remote_mail.git/commitdiff
fix sender rewrite rule
authorDon Armstrong <don@donarmstrong.com>
Wed, 12 Jun 2013 03:46:49 +0000 (20:46 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 12 Jun 2013 03:46:49 +0000 (20:46 -0700)
.procmailrc

index 6cee9ef51d614705895e721f128ab13de9150918..48dbd1d02237ed7717436f3421a5ebc38c8bd534 100644 (file)
@@ -219,7 +219,7 @@ lists/`echo $MATCH | sed -e 's/[\/]/_/g'`/
 
 :0:
 * ^Sender: +<?\/[^@]+-bounces?
-lists/`echo $MATCH | sed -e 's/\-bounces*//g; s/<//g; s/[\/]/_/g'`/
+lists/`echo $MATCH | sed -e 's/\-bounces*//g; s/.*<//g; s/[\/]/_/g; y/A-Z/a-z/'`/
 
 :0:   
 * ^X-BeenThere: \/[^@]+