Thanks for your response Phil,

In an attempt to resolve the issue, I'm now using MailScanner 4.64.3 and
have started from a fresh config file, so my "Spamassassin Local State Dir"
line also reads:

SpamAssassin Local State Dir = # /var/lib/spamassassin

And, as I mentioned, a lint test shows that SA is successfully reading
/var/lib/spamassassin/3.002003/updates_spamassassin_org.cf and all of the
rules in the /var/lib/spamassassin/3.002003/updates_spamassassin_org/
folder.

----- Here are relavant lines from the lint test ------
[24215] dbg: config: read file
/var/lib/spamassassin/3.001003/updates_spamassassin_org.cf
[24215] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001003/updates_spamassassin_org/10_misc.cf
[24215] dbg: config: using
"/var/lib/spamassassin/3.001003/updates_spamassassin_org/10_misc.cf" for
included file
[24215] dbg: config: read file
/var/lib/spamassassin/3.001003/updates_spamassassin_org/10_misc.cf [24215]
dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001003/updates_spamassassin_org/20_advance_fee.cf
[24215] dbg: config: using
"/var/lib/spamassassin/3.001003/updates_spamassassin_org/20_advance_fee.cf"
for included file
[24215] dbg: config: read file
/var/lib/spamassassin/3.001003/updates_spamassassin_org/20_advance_fee.cf 
...
-----

Thanks again,
Rob


Randal, Phil wrote:
> 
> Rob, that could be a MailScanner config problem.  You don't say which
> version of MailScanner, alas.
> 
> In /etc/MailScanner/MailScanner.conf check the "Spamassassin Local State
> Dir" line.
> 
> Mine reads:
> 
> SpamAssassin Local State Dir = # /var/lib/spamassassin
> 
> Cheers,
> 
> Phil
> --
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK  
> 
>> -----Original Message-----
>> From: Rob Starr [mailto:[EMAIL PROTECTED] 
>> Sent: 30 October 2007 11:54
>> To: users@spamassassin.apache.org
>> Subject: Re: Custom rules working, but not sa-updates
>> 
>> 
>> I should also mention that SA 3.1.3 was working flawlessly 
>> until the update
>> to 3.2.3.  I've used the newer config files and been through 
>> most of the
>> options, but still no luck.
>> 
>> 
>> 
>> Rob Starr wrote:
>> > 
>> > Hi, 
>> > 
>> > I'm using Postfix + MailScanner + MailWatch + SpamAssassin 3.2.3. 
>> > 
>> > My problem is that lots of spam is getting through because 
>> the rules 
>> > don't seem to be getting used, however my set of custom rules work 
>> > just fine (and disabling the custom ones hasn't helped).  I'm using
>> > Mailwatch so I can easily see which rules are being 
>> > hit, and which aren't. 
>> > 
>> > A lint test runs perfectly fine and reads all of the rule 
>> files without 
>> > error, all modules installed.  "spamassassin -t 
>> spam-sample.txt", uses 
>> > ALL of the rules and works fine, but any real mail going 
>> through the 
>> > system misses the spamassassin rules.  Also odd, is that 
>> Razor2 works 
>> > and the sa-update rule "RAZOR2_CHECK" always gets hit.  I've tried
>> > disabling 
>> > razor2 but no luck there. 
>> > 
>> > Just about every single email being processed hits one of 
>> these two rules
>> > (or any of the custom rules I have):
>> > RAZOR2_CHECK - Listed in Razor2 (http://razor.sf.net/) 
>> > RAZOR2_CF_RANGE_51_100 -Razor2 gives confidence level above 50% 
>> > 
>> > sa-update works fine by placing the latest rules in /var/lib/ 
>> > spamassassin/3.002003/.  I also have one custom .cf file in 
>> /etc/mail/ 
>> > spamassassin that always works. 
>> > 
>> > I've been troubleshooting for quite a while now and can't 
>> figure out 
>> > why the /var/lib/spamassassin/3.002003/ rules just aren't 
>> being used. 
>> > Any troubleshooting tips would be greatly appreciated.  Just let me 
>> > know what information you need. 
>> > 
>> > Thanks! 
>> > 
>> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Custom-rules-working%2C-but-not-sa-updat
>> es-tf4711874.html#a13468319
>> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Custom-rules-working%2C-but-not-sa-updates-tf4711874.html#a13487599
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to