spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Help! Filter spam with "less than"

Help! Filter spam with "less than" symbol in recipient

From: Niente0 <niente0_at_nospam>
Date: Fri Oct 15 2010 - 10:01:09 GMT

Hello all, here's my problem:
I'm receiving alot of spam which has a "<" (less than symbol) in the
recipient field. For example, I have this in the header:

To: "<"<>

I'd need a spamassassin rule that's able to catch this spam, I had no
success. The "less than" symbol seems to be uncatchable! (even if
backslashed). I'm wondering if there's a rule to filter a recipient name.
For the sender, I normally use this one:

header FROM1 From:name =~ /EuroPrime Casino/i

so I suppose that for the recipient it should be like this (I didn't find
any documentation about it):

header TO1 To:name =~ /EuroPrime Casino/i

in particular (to filter the less than symbol):

header TO1 To:name =~ /\</i

but it seems no to work... Could you please help me? I'm desperate!
Thanks :-)
-- View this message in context: Sent from the SpamAssassin - Users mailing list archive at