[Mimedefang] mimedefang and simple spamassassin test

Ron Wilhoite ronw at bals.org
Mon May 5 06:35:21 EDT 2008


On 05/05/2008 05:23 AM Jon Rowlan wrote:
> I have been trying for the last couple of days to get a simple SA test
> working and it appears to be ignoring my rule.
> 
> First off I put the rule into \etc\spamassassin\local.cf but then
> tracing through the MD code, it looks like the
> \etc\mail\sa-mimedefang.cf file takes over.
> 
> I put the test in that file also.
> 
> The test is ...
> 
> header BAD_TEST             Subject =~ /spamtest01/i
> score BAD_TEST              5.00
> 
> but I do not seem to be able to trigger this to be trapped as spam???
> 
> Does anyone have any ideas on how I can get this to work please?
> 
> Thanks,
> 
> jON
> 

I have local.cf as a symlink to sa-mimedefang.cf. I don't remember doing 
that, but I'm sure I had a good reason (documentation, suggestion on 
this list).

At the risk of stating the obvious, you also need to force MIMEDefang to 
reread your rules via "md-mx-ctrl reread" or similar means.

Ron Wilhoite




More information about the MIMEDefang mailing list