Dear All,

I am using SA in combination with mimedefang over many years very successfully. 
Thanks to the SA team for this great peace of software.
My environment SpamAssassin version 3.3.2 running on Perl version 5.12.4  on 
Sparc Solaris 11.2

My local rules are saved in /etc/mail/sa-mimedefang.cf
These days I tried to implement a new rule. It should trigger if within the 
received header line a text "verify=OK" can be found. This is the rule I made:

header LOCAL_VRY_OK             Received =~ /verify=ok/i
score LOCAL_VRY_OK              -2.0
describe LOCAL_VRY_OK           starttls_verify_is_OK

This rule is never triggered, even if this text is available. I know this 
because I add a X-Spam-Score header line to each e-mail, which lists all 
triggered rules.

I saved such an e-mail ( just the header ) and run:
spamassassin -x -p /etc/mail/sa-mimedefang.cf -D < email.txt

Here I can see, that this rule is activated. So the rule can't be written so 
bad.

I made several experiments but couldn't find a solution. My question why is it 
not recognized if executed "on the fly" by mimedefang for incoming e-mails ?
Not to say, that other local rules in my config file are executed properly.
Any hints and tips are welcome.

// Hans


Reply via email to