X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.procmailrc;h=da35528ff4d5ae19626d6d1df9269505eacefed6;hb=0927ab03f70ae4aba99b60826da25e274ccf13ad;hp=cfa07ff84170eb6d513812f587d9281d5a079ef2;hpb=92d976090646d83fd792e883e25fffb3e660ecef;p=remote_mail.git diff --git a/.procmailrc b/.procmailrc index cfa07ff..da35528 100644 --- a/.procmailrc +++ b/.procmailrc @@ -13,8 +13,8 @@ LOGFILE=$HOME/.procmail_log # TODO -:0 c: -$HOME/Mail/temp/ +#:0 c: +#$HOME/Mail/temp/ # Add filter for "your message to foo awaits moderator approval" # filter out owner mails @@ -65,7 +65,7 @@ FRIENDS=$HOME/.procmail/friends # Handle delay messages :0 Hc * !Message-Id: .*delay[0-9]+@ -* ^TO \/don\+de[^@]+ +* ^TO \/don\+delay\+[^@]+ $HOME/Mail/delay :0 Hhbw @@ -117,11 +117,12 @@ $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)?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) +* (^(((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) * !^From:.+(schedulesdirect|paypal.com) * !^To:.+ (don\+.+\@donarmstrong\.com) * !^List-.+ +* !^X-Diagnostic: $JOEJOB # stuff for postmaster at my machines @@ -129,6 +130,11 @@ $JOEJOB * ^To: postmaster@ $POSTMASTER +# mail from people I don't want to see, because they annoy me +:0: +* ^From:.*rgm@gnu.org +$HOME/Mail/idiots + # Work around procmail bug: any output on stderr will cause the "F" in "From" # to be dropped. This will re-add it. :0 H @@ -179,7 +185,10 @@ lists/dragongo/ ################### :0: -* ^To: \+announce@student.ucr.edu +* ^From:.*announcements@student.ucr.edu +lists/ucr-announcements + +:0: * ^List-Id: lists/ucr-announcements @@ -211,11 +220,14 @@ lists/`echo $MATCH | sed -e 's/[\/]/_/g'`/ # Debian's bug system uses X-Loop -8 :0: * ^X-PTS-Package: \/.+ bugs/`echo $MATCH |sed -e 's/[\/]/_/g'`/ +:0: +* ^X-Debian-PR-Source: \/.+ +bugs/`echo $MATCH |sed -e 's/[\/]/_/g'`/ + :0: * ^X-Debian-PR-Package: \/.+ bugs/`echo $MATCH |sed -e 's/[\/]/_/g'`/ @@ -260,6 +272,19 @@ lists/scd/ * ^Sender: (Bugtraq|Incidents Mailing|VULN-DEV) List lists/bugtraq/ +# morons on emacs-devel keep Cc:'ing me; discard the message if it +# lists emacs-devel in To or Cc +#:0: +#* ^(To|Cc):.*emacs-devel@gnu.org +#* !^Sender:.*emacs-devel +#/dev/null + +# discard all yahoogroups mail +:0: +* ^To:.*@yahoogroups.com +/dev/null + + ##################################### # Last rule: Put mail into mailbox # #####################################