Dominic, Ok it seems like SAEximDebug is set to 1, but I don't see anything similar like in your example log
My /var/log/exim4/mainlog : 2010-10-19 08:13:50 1P85Q4-0003iH-Gw <= p...@decordeli.com H= wblv-ip-mesg-2-3.saix.net [196.25.240.101] P=esmtp S=26973403 id= c865a021-d0c2-4859-a538-ae67b5626...@decordeli.com 2010-10-19 08:13:52 1P85Q4-0003iH-Gw => paul <p...@mydomain.com> R=local_user T=maildir_home 2010-10-19 08:13:52 1P85Q4-0003iH-Gw Completed Surely I'm missing something here and when I do a "grep sa-exim /var/lib/exim4/config.autogenerated", the output is null. Does this mean I don't have sa-exim configured properly? I really appreciate the help guys:-) Jerry On Mon, Oct 18, 2010 at 5:48 PM, Dominic Benson <domi...@lenny.cus.org>wrote: > On 18/10/10 16:11, Jeremy Van Rooyen wrote: > > > Thanks for the quick reply Dominic, > > I just checked and the SApermreject is set sensible for now. The latter > part of your email refers to SA-Flagged messages, how do I make sure this is > working, as I have enabled rewrite_header in /etc/spamassassin/local.cf. > <http://local.cf/> > > If rewite_header is enabled, and you don't see the *****SPAM***** (or > alternative you specified) in the subject line, then it didn't get > processed. > > Could you set SAEximDebug: 1 in /etc/exim4/sa-exim.conf, and then paste the > output of a message in /var/log/exim4/mainlog, e.g.: > > 2010-10-18 16:26:48 1P7rbr-0007e3-NS SA: Debug: SAEximRunCond expand > returned: 'true' > 2010-10-18 16:26:48 1P7rbr-0007e3-NS SA: Debug: check succeeded, running > spamc > 2010-10-18 16:26:51 1P7rbr-0007e3-NS SA: Action: permanently rejected > message: score=15.7 required=5.0 trigger=12.0 (scanned in 3/3 secs | > Message-Id: 1P7rbr-0007e3-NS). From > <e...@cambridge-union.org><e...@cambridge-union.org>(host=NULL > [117.5.37.103]) for > e...@cambridge-union.org > > Then we should be able to see what is actually happening. > > Also, could you check the output of "grep sa-exim > /var/lib/exim4/config.autogenerated" > - if you use Exim in unsplit configuration, sa-exim doesn't get used by > default. exim4-daemon-heavy has an alternative way of using SpamAssassin > (exiscan_acl), which is powerful, but not so convenient. > > > How do I add a message rule that subject starts with *****SPAM***** ? Do I > add to my local.cf? I'm sure I did this already. > > I mean you should do this in either your mail client, or e.g. a Cyrus > sieve. This is about using the data that SpamAssassin/Exim have added to the > message to classify it in your inbox, rather than a mail routing decision. > (e.g. in Thunderbird you would go Tools -> Message Filters -> New) > > Dominic > -- "There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit. " Romans 8