]> git.donarmstrong.com Git - remote_mail.git/blobdiff - .procmailrc
* allow all list messages through
[remote_mail.git] / .procmailrc
index 3a0c93a5bbac0df2176ffc5b4c94a7b49362b25d..4080d20dc1a06b6f42cb3fa2c0dae110174aa721 100644 (file)
@@ -116,8 +116,11 @@ $SPAM
 # I get joe-jobbed a lot; if a message is from a mailer, but not from
 # one of mine, discard it.
 :0:
-* ^FROM_MAILER
-* !^From:.+(ucr|debian|donarmstrong|sndservers|ccin)
+* (^(((Resent-)?(From|Sender)|X-Envelope-From):|>?From )([^>]*[^(.%@a-z0-9])?(Post(ma(st(er)?|n)|office)|(send)?Mail(er)?|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)
+* !^From:.+(schedulesdirect|paypal.com)
+* !^To:.+ (don\+.+\@donarmstrong\.com)
+* !^List-.+
 $JOEJOB
 
 # Work around procmail bug: any output on stderr will cause the "F" in "From"