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 6cee9ef..48dbd1d 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: \/[^@]+