> How about something like this in header checks: > > /^Subject: [a-zA-Z0-9.,;:"-]+/ DUNNO > /./ 550 I don't like your > subject > > This will allow you to define and accept whatever you feel is customary > punctuation for the subject line, unless of course you want to exclude all > punctuation from the subject line.
I am looking at a repetition of any and all punctuation, and other non-alphanumeric characters. I find that there is a larger percentage of punctuation in spam subject lines than in regular ones. Also, wouldn't yours kill anyone using the properly converted high bit ascii? For example, "Subject: =?iso-8859-1?B?4NzBIFRlc3Q=?=" is "Subject: ��� Test" Then again, mine might need some work to avoid those issues too. --Eric
