Hi,

I don't know if this is relevant for you or not, but on our mail server I could not get sa-update to work, either. I noticed that if the directory was not there, however, it would work. So a down and dirty approach I took was writing a crop job that removes that directory just before running sa-update. I know this is going to be a bit much for some folks on here to handle, but I had to get on with life at some point!

Good luck,
Andy


On Oct 30, 2007, at 7:39, "Randal, Phil" <[EMAIL PROTECTED]> 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.


Reply via email to