Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5332087
  • 博文数量: 1144
  • 博客积分: 11974
  • 博客等级: 上将
  • 技术积分: 12312
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-13 20:06
文章存档

2017年(2)

2016年(14)

2015年(10)

2014年(28)

2013年(23)

2012年(29)

2011年(53)

2010年(86)

2009年(83)

2008年(43)

2007年(153)

2006年(575)

2005年(45)

分类:

2006-01-20 15:06:12

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.
阅读(1129) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~