tweak joejob rules to not trigger on everything
authorDon Armstrong <don@donarmstrong.com>
Thu, 4 Dec 2014 21:06:40 +0000 (13:06 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 4 Dec 2014 21:06:40 +0000 (13:06 -0800)
.procmailrc

index f56ac48..43bac31 100644 (file)
@@ -122,14 +122,17 @@ $SPAM
 # I get joe-jobbed a lot; if a message is from a mailer, but not from
 # 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 ][^<)]*(\(.*\).*)?)?$([^>]|$))
-* !^From:.+(ucr|debian|donarmstrong|sndservers|ccin|schedulesdirect|promtheuslabor.com)
+* (^(((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)
+* !^From:.+(ucr|debian|donarmstrong|sndservers|ccin|schedulesdirect|prometheuslabor.com)
 * !^From:.+(schedulesdirect|paypal.com)
 * !^To:.+ (don\+.+\@(donarmstrong\.com|debian\.org|rzlab\.ucr\.edu))
 * !^List-.+
 * !^X-Diagnostic:
 $JOEJOB
 
+}
+
 # stuff for postmaster at my machines
 :0:
 * ^To: postmaster@