Anti-spear-phishing, round 2

Drew Marshall drew.marshall at technologytiger.net
Mon Jan 12 12:14:14 GMT 2009


On 6 Jan 2009, at 22:20, Julian Field wrote:

> I have done a load of work on my script that uses the anti-spear- 
> phishing addresses database.
>
> The main thing is now that it is pretty much a finished script, and  
> is directly usable by you guys without you having to do much to it  
> except read the settings at the top and tweak the filenames if you  
> want to change where it puts things.

Jules

I have now got as far as implementing this excellent feature but I  
have bumped in to an interesting error.

Jan 12 10:58:25 in1-b MailScanner[78431]: SpamAssassin Rule Actions:  
rule anti_phish caused action not-deliver in message 7FAB84BE3B4.94CF3
Jan 12 10:58:25 in1-b MailScanner[78431]: SpamAssassin Rule Actions:  
rule anti_phish caused action store in message 7FAB84BE3B4.94CF3
Jan 12 10:58:25 in1-b MailScanner[78431]: SpamAssassin Rule Actions:  
rule anti_phish caused action header in message 7FAB84BE3B4.94CF3
Jan 12 10:58:25 in1-b MailScanner[78431]: SpamAssassin Rule Actions:  
rule anti_phish caused action "X-Anti-Phish: in message  
7FAB84BE3B4.94CF3
Jan 12 10:58:25 in1-b MailScanner[78431]: SpamAssassin Rule Actions:  
rule anti_phish caused action Yes" in message 7FAB84BE3B4.94CF3
Jan 12 10:58:25 in1-b MailScanner[78431]: Message 7FAB84BE3B4.94CF3  
produced illegal Non-Spam Actions " Yes" "X-Anti-Phish:", so message  
is being delivered

The SpamAssassin Rule Action that generated this log  
is ...ANTI_PHISH=>not-deliver,store,header "X-Anti-Phish: Yes" (I  
slightly changed the header in case there was a problem with the _TO_  
special command, which has made no difference).

So what have I done wrong (The actual creation of the SA rule etc is  
fine as MailScanner is seeing the rule hit as can be seen in the log)?

Drew

--
In line with our policy, this message has been scanned for viruses and dangerous 
content by Technology Tiger's Mail Launder system <www.mail-launder.com>
Our email policy can be found at www.technologytiger.net/policy

Technology Tiger Limited is registered in Scotland with registration number: 310997
Registered Office 55-57 West High Street Inverurie AB51 3QQ




More information about the MailScanner mailing list