When I run exim in debug rules my custom cf files are never added and the rules 
never hit.  Thanks.

-----Original Message-----
From: John Horne [mailto:john.ho...@plymouth.ac.uk] 
Sent: Monday, September 09, 2013 5:56 AM
To: SpamAssassin
Subject: Re: Rules not working

On Mon, 2013-09-09 at 02:19 +0000, Raymond Jette wrote:
> Thanks for the information.  When running it this way everything 
> works.  I'm not sure why it is not working with normal mail flow.
>
I don't think you mentioned which O/S you are using. However, you may (it 
depends on your O/S) find spamassassin startup options in the 
'/etc/sysconfig/spamassassin' file.

As you are using exim you could run exim itself in debug mode to maybe see what 
is happening. Try something like:

  exim  -d'+all' recipient_addr  </tmp/msg  >/tmp/exim-test  2>&1

where 'recipient_addr' is some suitable recipient address for your site.
This will produce a lot of output, hence it is redirected to the file 
'/tmp/exim-test'. The file '/tmp/msg' is an email message, complete with 
headers.

You should then be able to look in the '/tmp/exim-test' file and see the flow 
of the message through exim. In particular what happens to it when SA is called 
(if it is called). (I assume you are using 'spam' in some ACL to call 
spamassassin.)





John.

-- 
John Horne                   Tel: +44 (0)1752 587287
Plymouth University, UK      Fax: +44 (0)1752 587001

Reply via email to