Re: spamassassin port not reading local.cf?

2004-11-10 Thread Ruben de Groot
On Tue, Nov 09, 2004 at 10:16:58AM -0500, Rohit Kumar Mehta typed:
 
 Hi Toomas I have this same problem Amavisd-new and SA 3.0.
 I think the problem is that SA is invoked through amavisd (not spamc or
 spamassassin).
 I hope I do not have to make all my local changes through amavisd.conf.
 Please do let me know if you discover another way.

I suffered the same problem when using MIMEDefang and SA. My solution
was to run spamass-milter instead. But that sort of limits you to 
sendmail as an MTA :-)

Ruben

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


spamassassin port not reading local.cf?

2004-11-09 Thread Rohit Kumar Mehta
Hi Toomas I have this same problem Amavisd-new and SA 3.0.
I think the problem is that SA is invoked through amavisd (not spamc or
spamassassin).
I hope I do not have to make all my local changes through amavisd.conf.
Please do let me know if you discover another way.
Rohit
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


spamassassin port not reading local.cf?

2003-06-11 Thread Toomas Aas
Hello!

I tried asking this on SpamAssassin list and didn't get it solved. Maybe it is 
something specific to the FreeBSD port of SA.

I'm running Postfix 2.07, amavisd-new-20030314.p1 and SpamAssassin 2.53, all
installed from ports. Everything works fine, except that SpamAssassin as
running via amavisd-new doesn't seem to read the changes that I make to 
/usr/local/etc/mail/spamassassin/local.cf. I just whitelisted an address,
restarted amavisd-new but the mail coming from this address is still bouncing.
I've also tried changing the scores of some tests in local.cf and the changes
don't seem to 'take'. I do restart amavisd-new each time after making changes,
and it logs the following into /var/log/maillog:

--
Jun 11 16:40:52 kuller amavis[43126]: SpamControl: initializing Mail::SpamAssassin
Jun 11 16:40:56 kuller amavis[43126]: SpamControl: done
--

Interesting thing is, when I run spamassassin from command line, I see that
my changes are honored:

# spamassassin -t  false-positive

Content analysis details:   (-94.50 points, 5 required)
HEADER_8BITS   (1.2 points)  Headers include 3 consecutive 8-bit characters
USER_IN_WHITELIST  (-100.0 points)From: address is in the user's white-list
SUBJ_FULL_OF_8BITS (4.3 points)  Subject is full of 8-bit characters

So, it's only SA running via amavisd-new that doesn't read my local changes.
I'm forced to do the changes in global config files 
/usr/local/share/spamassassin/*.cf, which is Bad Thing. Help!
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* It's always darkest right before you step on the cat.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]