on 8/29/04 12:44 AM, Ryan Thompson at [EMAIL PROTECTED] wrote:
> Aha. From your original post:
> 
>> Mail.log
>> ---------
>> Aug 28 17:09:44 xserve1 sm-mta[3868]: i7SL9cVl003868: Milter add:
>> header: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no
>> version=2.64
>          ^^^^
> 
> I almost missed this, because it was hiding in a log line near the end
> of your email. That, and I've been up since 5am thanks to a funeral 3
> hours away this morning. Euagh.
> 
> Anyway, "required_score" is a version 3.00 directive. 2.6x still needs
> "required_hits".
Ok, now we're getting somewhere :-)

> Unless you have yet more troubles with your
> configuration, I believe that's the final solution to your problem.
It's more than that -- my spamd is definitely not reading
/etc/mail/spamassasin/local.cf. By using the following command I got some
output in mail.log:

sudo /usr/local/bin/spamd -d --pidfile /var/run/spamd.pid -u spamd
--siteconfigpath=/etc/mail/spamassassin/local.cf

Got this error:

Aug 29 10:46:53 xserve1 spamd[2840]: Argument "12.00file end
/etc/mail/spamassassin/local.cf" isn't numeric in addition (+) at
/Library/Perl/lib/perl5/site_perl/5.8.4/Mail/SpamAssassin/Conf.pm line 1584.

Which tells me that the 'bayes_auto_learn_threshold_spam 12' directive must
also be v3.0 only. Took the threshold directives out and now it's starting
properly and is showing correct 'required='.

>  I'm guessing you
>   simply looked up the documentation online, where you stumbled across
>   the SA 3.0 Conf documentation.
Well, I printed the Mail::Spamassassin::Conf doc from search.cpan.org,
thinking it applied to the version I downloaded.

> 3. For configuration options that don't seem to work, run
>   spamassassin --lint, preferably as the same user spamd runs as.
>   Any errors or warnings reported will hopefully help you fix your
>   own problem.

Good to know. Tried it before I fixed the directives in
/etc/mail/spamassassin/local.cf but got no output, which I guess confirms
it's not looking there by default for it's config file.

How do I call --lint on a specific config file?


> Hope this helps,
> - Ryan
Very much, thanks.


-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/


Reply via email to