I use spamassassin with CommuniGatePro cgpsa helper, .

With Spamassassin 3.3.2 I had ability to customize default values in local.cf file.
With 3.4.x  I lost this ability i can't find again :/



21.05.2015 17:33, Dave Funk пишет:
On Thu, 21 May 2015, Dmitry Baronov wrote:

Hello folks!

I use 3.4.1 freebsd version with compiled rules.

Please, give me advice how I could use local config file to override
downloaded default values?

All my attemps were unsuccessful.

I placed local.cf and user_prefs files in /root/spamassassin
/etc/mail/spamassassin /usr/local/etc/mail/spamassassin
/usr/local/share/spamassassin - no way to replace default values like
blacklist_from  or required_score.

I need help :)

Rgds,

db

First, how are you using spamassassin?

Are you using the 'spamd' daemon and feeding it spam via "spamc" (from
a procmail receipt or a postfix filter, or a milter)?
Are you using the spamassassin program itself from procmail?
Are you using some kind of dedicated mail filtering package such as
mimedefang or amavis which instantiates an instance of spamassassin
within its own process via the spamassassin APIs?

The first two methods use the standard spamassassin config files, the
last
one may ignore standard spamassassin config files and use its own.

For the first two you need to determine which config files are being used
as it's possible that your SA kit was built with non-standard internal
settings.
Invoke spamassassin with the "--lint -D" flags and it will tell you which
config files it's using. The 'local' variants of the config files that it
says it's reading are the ones you want to modify.

For the last method you'll have to consult the relevant documentation.



Reply via email to