custom_rules.cf not working

Discuss here all what concerns the MailCleaner anti-spam efficiency, share your rulesets and tips for SpamAssassin !

Moderators: FlorianB, Pascal, bourgeois, mentor

Pentangle
Posts: 85
Joined: Thu Jan 31, 2013 1:20 am
How did you hear about Mailcleaner: Googling

custom_rules.cf not working

Postby Pentangle » Tue May 26, 2015 12:47 pm

Hi all,

I'm having problems getting my custom_rules.cf to work. Specifically i'm getting "Australian Tax Office" spam and my rule is like this:

header AUSTRALIAN_TAX_1 ALL =~ /noreply@ato.gov.au/i
score AUSTRALIAN_TAX_1 5.0
describe AUSTRALIAN_TAX_1 Australian Tax Spam

yet after restarting the filtering engine I still get them - here's the relevant headers (redacted to remove my recipient infrastructure) from one received after the regex is in place:

X-MailCleaner-SPF: pass
Message-ID: <5623248830.POL5NR0Q059701.203020@legggo.lnk.telstra.net>
Date: Tue, 26 May 2015 21:16:45 +1000
From: Australian Taxation Office <noreply@ato.gov.au>
Subject: Notice of Underreported Income
Content-Type: multipart/alternative;
boundary="------------04050100904010206020501"
X-NiceBayes: disabled (no database ?)
X-Spamc: is not spam (score=1.1, required=5.0)
X-MailCleaner-Information: Please contact it-support@pentangle.co.uk for more information
X-MailCleaner-ID: 1YxCqU-0007jx-At
X-MailCleaner: Found to be clean
X-MailCleaner-SpamCheck: not spam, Spamc (score=1.1, required=5.0,
NO_RECEIVED -0.0, DCC_CHECK 1.1, BAYES_00 -1.9, HTML_MESSAGE 0.0,
DIGEST_MULTIPLE 0.3, PYZOR_CHECK 1.4, KAM_MANYTO 0.2)
X-MailCleaner-ReportURL: http://antispam.pentangle.co.uk/rs.php
Return-Path: dynamited9@npgcable.com

Any ideas?
Mike.
charlesd
Posts: 23
Joined: Thu Jan 23, 2014 8:39 pm
How did you hear about Mailcleaner: recommended on a random forum post

Re: custom_rules.cf not working

Postby charlesd » Tue May 26, 2015 5:56 pm

I'd use:

header AUSTRALIAN_TAX_1 From:raw =~ /noreply\@ato\.gov\.to/i

Return to “Filter efficiency”

Who is online

Users browsing this forum: No registered users and 1 guest