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 inte‐
29 ger between 0 and 20. For Example, a value of 1 logs only startup
30 and error messages, 5 includes every transaction with the server,
31 and 14 is extremely verbose information intended for debugging use
32 only. NOTE: 15 and higher create debug files on your filesystem --
33 do not use unless you know what you are doing. The default is 5.
34
35 identity
36 Specify an identify file to use for storing a newly registered
37 identity during razor-admin(1). For razor-report(1) and
38 razor-revoke(1), use this identity when authenticating with Razor
39 Servers. If not specified, "<razorhome>/identity-<user>" is used.
40
41 listfile_nomination
42 File where Razor Nomination Servers are listed, in order of closest
43 TCP ping time. Nomination Servers are used by razor-report(1) and
44 razor-revoke(1). This file is created automatically. The default
45 is "servers.nomination.lst".
46
47 listfile_catalogue
48 File where Razor Catalogue Servers are listed, in order of closest
49 TCP ping time. Catalogue Servers are used by razor-check(1). This
50 file is created automatically. The default is "servers.cata‐
51 logue.lst".
52
53 listfile_discovery
54 File where Razor Discovery Servers are listed, in random order.
55 This file is created automatically using DNS. The default is
56 "servers.discovery.lst".
57
58 rediscovery_wait_dns
59 Max time in seconds Razor Agents will wait before computing a new
60 "listfile_discovery" using DNS. The default is 604800, which is 7
61 days.
62
63 rediscovery_wait
64 Max time in seconds Razor Agents will wait before computing a new
65 "listfile_nomination" and a new "listfile_catalogue". The default
66 is 172800, which is 2 days.
67
68 turn_off_discovery
69 Turns off closest host discovery. When set to 1, "listfile_cata‐
70 logue" and "listfile_nomination" will not be updated and "list‐
71 file_discovery" is not read or updated. The default is 0.
72
73 ignorelist
74 Automatically ignore mailing list posts. If set to 0, mailing list
75 posts will be handled like all other mail. The default is 0.
76
77 whitelist
78 Name of whitelist file. Razor Agents can consult a whitelist of
79 addresses and SHA1 hashes before checking a mail with Razor
80 Servers. If the address/hash is found on the whitelist, the mail
81 is marked `not spam', without checking against the server. The for‐
82 mat of the whitelist can be found in razor-whitelist(5) manpage.
83 The default is "razor-whitelist".
84
85 min_cf
86 When checking spam, the server optionally returns a spam confidence
87 value ranging from 0 (not confident) to 100 (absolutely or 100%
88 confident). To be considered spam, the server's spam confidence
89 value must be greater than or equal to "min_cf". "min_cf" can be a
90 number or an expression containing ac, the average confidence pub‐
91 lished by a Razor Server. Examples: 0, 60, 100, ac, ac + 10, ac -
92 20. If an expression evaluates to less than 0 it becomes 0, like‐
93 wise those greater than 100 become 100. The default is "ac".
94
95 report_headers
96 When reporting spam, the entire email (headers and body) is sent to
97 a Razor Nomination Server. When set to 0, all the headers are
98 removed except headers beginning with "Content-" before sending,
99 and a special header beginning with "X-Razor2" is added to note
100 this action. The default is 1.
101
103 Vipul Ved Prakash, <mail@vipul.net> and Chad Norwood <chad@samo.org>
104
106 razor-agents(1), razor-check(1), razor-admin(1), razor-report(1),
107 razor-revoke(1), razor-whitelist(5)
108
109
110
111perl v5.8.8 2005-06-10 RAZOR-AGENT.CONF(1)