[geeks] when will it end?

Scott Howard scott at doc.net.au
Sat Dec 20 03:24:56 CST 2003


On Thu, Nov 20, 2003 at 01:40:38PM -0600, Bill Bradford wrote:
> I'm *SO* tired of these fake Microsft update mails.
> 
> I've started collecting the subject lines and senders and putting them into
> header_checks (postfix).  Here's what I've got, after a week or so:
> 
> I could probably make 2-3 regexps that would match.  I might get around to
> them this weekend...
> 
> SUBJECT:  
> (Newest|Current|Last|Latest|New|Net|Microsoft|Critical) \
> (Microsoft|Network|Internet|Critical|Security|Internet) \
> (Security|Critical|Upgrade|Update|Patch|Pack)

You've just missed the simple way of doing it.  What's wrong with the
pattern :
SUBJECT: .*

Hint: no (valid) mail software puts the "SUBJECT" header in all upper case!

  Scott



More information about the geeks mailing list