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.


--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to