CONFIGURATION FILES
The rule base, text templates, and rule description text are loaded from the configuration files.
By default, configuration data is loaded from the first existing directory in: /usr/share/spamassassin; /usr/share/spamassassin; /usr/local/share/spamassassin;
/usr/share/spamassassin .
Site-specific configuration data is used to override any values which had already been set. This is loaded from the first existing directory in: /etc/spamassassin;
/usr/etc/mail/spamassassin; /usr/etc/spamassassin; /usr/local/etc/spamassassin; /usr/pkg/etc/spamassassin; /usr/etc/spamassassin; /etc/mail/spamassassin; /etc/spamas-
sassin .
Spamassassin will read *.cf in these directories, in alphanumeric order within each directory (similar to SysV-style startup scripts). In other words, it will read
10_misc.cf before 50_scores.cf and 20_body_tests.cf before 20_head_test.cf. Options in later files will override earlier files.
The user preferences (such as scores to attach to each rule), are loaded from the file specified in the -p argument. If this is not specified, ~/.spamassas-
sin/user_prefs is used if it exists. "spamassassin" will create this file if it does not exist, using user_prefs.template as a template. This file will be looked for
in: /etc/spamassassin; /usr/etc/mail/spamassassin; /usr/share/spamassassin; /etc/spamassassin; /etc/mail/spamassassin; /usr/local/share/spamassassin; /usr/share/spamas-
sassin.
阅读(1138) | 评论(0) | 转发(0) |