discard bounces from dumb mailing lists
authorDon Armstrong <don@donarmstrong.com>
Thu, 4 Dec 2014 22:40:58 +0000 (14:40 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 4 Dec 2014 22:40:58 +0000 (14:40 -0800)
.procmailrc

index 43bac31..047d967 100644 (file)
@@ -123,7 +123,7 @@ $SPAM
 # one of mine, discard it.
 :0:
 * (^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )([^>]*[^(.%@a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mailer|daemon|mmdf|n?uucp|ops|r(esponse|oot)|(bbs\.)?smtp(error)?|(s(erver)|ystem)|A(dmin(istrator)?|MMGR))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>\t ][^<)]*(\(.*\).*)?)?$([^>]|$)
-* Subject:.*(Mail delivery failed|Returned mail|Undelivered Mail)
+* ^Subject:.*(Mail delivery failed|Returned mail|Undelivered Mail)
 * !^From:.+(ucr|debian|donarmstrong|sndservers|ccin|schedulesdirect|prometheuslabor.com)
 * !^From:.+(schedulesdirect|paypal.com)
 * !^To:.+ (don\+.+\@(donarmstrong\.com|debian\.org|rzlab\.ucr\.edu))
@@ -133,6 +133,13 @@ $JOEJOB
 
 }
 
+# discard bounces from dumb mailing lists on prometheuslabor
+:0:
+* ^From: MAILER-DAEMON@
+* ^To: root@mail.prometheuslabor.com
+* ^Subject:.*Undelivered
+/dev/null
+
 # stuff for postmaster at my machines
 :0:
 * ^To: postmaster@