1RAZOR-AGENT.CONF(1) User Contributed Perl Documentation RAZOR-AGENT.CONF(1)
2
3
4
6 "razor-agent.conf" - Configuration file for Razor Agents
7
9 "razor-agent.conf" is a configuration file read by the razor agents,
10 which include razor-check(1), razor-admin(1), razor-report(1), and
11 razor-revoke(1). The format is "attribute = value" pairs, one pair per
12 line. Lines that begin with `#' are treated as comments.
13
15 Following attributes can be specified:
16
17 razorhome
18 Directory where Razor Agents look for files. All files in
19 "razor-agent.conf" without a full path will be relative to
20 "razorhome". The default is "/etc/razor/" for root, and
21 "~/.razor/" for every other user. If "razorhome" does not exist,
22 it will be created.
23
24 logfile
25 Log file for the Razor Agents. The default is "razor-agent.log".
26
27 debuglevel
28 Controls the amount of messages written to logfile. It is an
29 integer between 0 and 20. For Example, a value of 1 logs only
30 startup and error messages, 5 includes every transaction with the
31 server, and 14 is extremely verbose information intended for
32 debugging use only. NOTE: 15 and higher create debug files on your
33 filesystem -- do not use unless you know what you are doing. The
34 default is 5.
35
36 identity
37 Specify an identify file to use for storing a newly registered
38 identity during razor-admin(1). For razor-report(1) and
39 razor-revoke(1), use this identity when authenticating with Razor
40 Servers. If not specified, "<razorhome>/identity-<user>" is used.
41
42 listfile_nomination
43 File where Razor Nomination Servers are listed, in order of closest
44 TCP ping time. Nomination Servers are used by razor-report(1) and
45 razor-revoke(1). This file is created automatically. The default
46 is "servers.nomination.lst".
47
48 listfile_catalogue
49 File where Razor Catalogue Servers are listed, in order of closest
50 TCP ping time. Catalogue Servers are used by razor-check(1). This
51 file is created automatically. The default is
52 "servers.catalogue.lst".
53
54 listfile_discovery
55 File where Razor Discovery Servers are listed, in random order.
56 This file is created automatically using DNS. The default is
57 "servers.discovery.lst".
58
59 rediscovery_wait_dns
60 Max time in seconds Razor Agents will wait before computing a new
61 "listfile_discovery" using DNS. The default is 604800, which is 7
62 days.
63
64 rediscovery_wait
65 Max time in seconds Razor Agents will wait before computing a new
66 "listfile_nomination" and a new "listfile_catalogue". The default
67 is 172800, which is 2 days.
68
69 turn_off_discovery
70 Turns off closest host discovery. When set to 1,
71 "listfile_catalogue" and "listfile_nomination" will not be updated
72 and "listfile_discovery" is not read or updated. The default is 0.
73
74 ignorelist
75 Automatically ignore mailing list posts. If set to 0, mailing list
76 posts will be handled like all other mail. The default is 0.
77
78 whitelist
79 Name of whitelist file. Razor Agents can consult a whitelist of
80 addresses and SHA1 hashes before checking a mail with Razor
81 Servers. If the address/hash is found on the whitelist, the mail
82 is marked `not spam', without checking against the server. The
83 format of the whitelist can be found in razor-whitelist(5) manpage.
84 The default is "razor-whitelist".
85
86 min_cf
87 When checking spam, the server optionally returns a spam confidence
88 value ranging from 0 (not confident) to 100 (absolutely or 100%
89 confident). To be considered spam, the server's spam confidence
90 value must be greater than or equal to "min_cf". "min_cf" can be a
91 number or an expression containing ac, the average confidence
92 published by a Razor Server. Examples: 0, 60, 100, ac, ac + 10, ac
93 - 20. If an expression evaluates to less than 0 it becomes 0,
94 likewise those greater than 100 become 100. The default is "ac".
95
96 report_headers
97 When reporting spam, the entire email (headers and body) is sent to
98 a Razor Nomination Server. When set to 0, all the headers are
99 removed except headers beginning with "Content-" before sending,
100 and a special header beginning with "X-Razor2" is added to note
101 this action. The default is 1.
102
104 Vipul Ved Prakash, <mail@vipul.net> and Chad Norwood <chad@samo.org>
105
107 razor-agents(1), razor-check(1), razor-admin(1), razor-report(1),
108 razor-revoke(1), razor-whitelist(5)
109
110
111
112perl v5.28.0 2008-07-21 RAZOR-AGENT.CONF(1)