"debug: using "/usr/share/spamassassin" for default rules dir"
Oh dear, that's definitely wrong. You should have config: using "/var/lib/spamassassin/3.002003" for default rules dir try setting the MailScanner.conf line to SpamAssassin Local State Dir = # /var/lib/spamassassin And see if that helps. Try a MailScanner --lint too in case there are other issues causing grief. It's probably best to take this to the MailScanner mailing list. Cheers, Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Rob Starr [mailto:[EMAIL PROTECTED] > Sent: 30 October 2007 13:30 > To: users@spamassassin.apache.org > Subject: RE: Custom rules working, but not sa-updates > > > Boy, that's a handy command. I'll have to write that one down. > > I'm getting: > In Debugging mode, not forking... > SpamAssassin temp dir = > /var/spool/MailScanner/incoming/SpamAssassin-Temp > debug: Score set 0 chosen. > debug: running in taint mode? no > debug: ignore: test message to precompile patterns and load modules > debug: using "/usr/share/spamassassin" for default rules dir > debug: using "/etc/mail/spamassassin" for site rules dir > debug: using "/var/spool/postfix/.spamassassin/user_prefs" > for user prefs > file > > MailScanner.conf currently has: > SpamAssassin Site Rules Dir = /etc/mail/spamassassin > SpamAssassin Local Rules Dir = > SpamAssassin Local State Dir = /var/lib/spamassassin > SpamAssassin Default Rules Dir = > > > > Randal, Phil wrote: > > > > Right, and what does the > > > > MailScanner --debug --debug-sa > > > > output say it is using? > > > > Cheers, > > > > Phil > > -- > > Phil Randal > > Network Engineer > > Herefordshire Council > > Hereford, UK > > > >> -----Original Message----- > >> From: Rob Starr [mailto:[EMAIL PROTECTED] > >> Sent: 30 October 2007 12:29 > >> To: users@spamassassin.apache.org > >> Subject: RE: Custom rules working, but not sa-updates > >> > >> > >> 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_mi > >> sc.cf" for > >> included file > >> [24215] dbg: config: read file > >> /var/lib/spamassassin/3.001003/updates_spamassassin_org/10_mis > >> c.cf [24215] > >> dbg: plugin: fixed relative path: > >> /var/lib/spamassassin/3.001003/updates_spamassassin_org/20_adv > >> ance_fee.cf > >> [24215] dbg: config: using > >> "/var/lib/spamassassin/3.001003/updates_spamassassin_org/20_ad > >> vance_fee.cf" > >> for included file > >> [24215] dbg: config: read file > >> /var/lib/spamassassin/3.001003/updates_spamassassin_org/20_adv > >> ance_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-updat > >> es-tf4711874.html#a13487599 > >> 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-updat > es-tf4711874.html#a13488515 > Sent from the SpamAssassin - Users mailing list archive at Nabble.com. > >