RAZOR-AGENT.CONF(1)
๐ RAZOR-AGENT.CONF(1) โ the glow-up โจ
okay so this is razor-agent.conf(1), bestie โ a User Contributed Perl Documentation page, no cap. it's the config file page and it's lowkey the most important one because it's where you tell the Razor agents how to behave. let's get into it ๐ซถ
๐ NAME ๐
razor-agent.conf โ the configuration file for Razor Agents. that's it, that's the name, she's iconic ๐
๐ธ DESCRIPTION ๐ธ
razor-agent.conf is a configuration file that gets read by the razor agents, and the whole squad is here: razor-check(1), razor-admin(1), razor-report(1), and razor-revoke(1). literally all of them ๐ฆ
the format is attribute = value pairs, one pair per line. that's it. keep it simple, keep it cute โจ
and if a line begins with #? that's a comment, babes. the agents will straight up ignore it. go off, annotate your config ๐
๐ ATTRIBUTES ๐
here's every attribute you can set, no skips, no cuts, we're covering all of them fr fr ๐
razorhomeโ the directory where Razor Agents go looking for files. every file mentioned inrazor-agent.confthat doesn't have a full path is gonna be relative torazorhome. the default is/etc/razor/if you're root, and~/.razor/for every other user. and listen โ ifrazorhomedoesn't exist, it will be created. she makes herself at home ๐logfileโ the log file for the Razor Agents. default israzor-agent.log. that's where all the tea gets recorded ๐debuglevelโ controls how many messages get written to the logfile. it's an integer between 0 and 20. for example: a value of 1 logs only startup and error messages, 5 includes every transaction with the server, and 14 is extremely verbose information intended for debugging use only. so like, 14 is the "I need to see EVERYTHING" setting ๐
NOTE: 15 and higher create debug files on your filesystem โ do not use unless you know what you are doing. like, seriously, that's a real warning, don't just crank it to 20 for funsies ๐ญ
- the default is 5. that's the vibe check passing level โ
identityโ specify an identity file to use for storing a newly registered identity duringrazor-admin(1). forrazor-report(1)andrazor-revoke(1), use this identity when authenticating with Razor Servers. if you don't specify one,<razorhome>/identity-<user>is used. she'll pick for you, don't worry ๐ซถlistfile_nominationโ the file where Razor Nomination Servers are listed, in order of closest TCP ping time. Nomination Servers are used byrazor-report(1)andrazor-revoke(1). this file is created automatically. default isservers.nomination.lstโญlistfile_catalogueโ the file where Razor Catalogue Servers are listed, in order of closest TCP ping time. Catalogue Servers are used byrazor-check(1). this file is created automatically too. default isservers.catalogue.lst๐listfile_discoveryโ the file where Razor Discovery Servers are listed, in random order. this one is created automatically using DNS. default isservers.discovery.lst๐งrediscovery_wait_dnsโ max time in seconds Razor Agents will wait before computing a newlistfile_discoveryusing DNS. default is 604800, which is 7 days. a whole week of chilling ๐rediscovery_waitโ max time in seconds Razor Agents will wait before computing a newlistfile_nominationand a newlistfile_catalogue. default is 172800, which is 2 days. much more impatient than the DNS one, honestly ๐turn_off_discoveryโ turns off closest host discovery. when set to 1,listfile_catalogueandlistfile_nominationwill not be updated andlistfile_discoveryis not read or updated. default is 0. so it's off by default, meaning discovery is ON by default. iykyk ๐ฅignorelistโ automatically ignore mailing list posts. if set to 0, mailing list posts will be handled like all other mail. default is 0. so no special treatment unless you say so ๐whitelistโ the name of the whitelist file. Razor Agents can consult a whitelist of addresses and SHA1 hashes before checking a mail with Razor Servers. if the address/hash is found on the whitelist, the mail is markednot spam, without checking against the server. the format of the whitelist can be found in therazor-whitelist(5)manpage. default israzor-whitelist๐min_cfโ when checking spam, the server optionally returns a spam confidence value ranging from 0 (not confident) to 100 (absolutely or 100% confident). to be considered spam, the server's spam confidence value must be greater than or equal tomin_cf.min_cfcan be a number or an expression containing ac, the average confidence published by a Razor Server. examples: 0, 60, 100, ac, ac + 10, ac - 20. if an expression evaluates to less than 0 it becomes 0, likewise those greater than 100 become 100. the default isac. math but make it cute ๐งฎโจreport_headersโ when reporting spam, the entire email (headers and body) is sent to a Razor Nomination Server. when set to 0, all the headers are removed except headers beginning withContent-before sending, and a special header beginning withX-Razor2is added to note this action. default is 1. so by default the whole email goes out โ that's a big deal, know what you're signing up for ๐
๐ AUTHORS ๐
Vipul Ved Prakash, mail@vipul.net and Chad Norwood chad@samo.org. absolute icons, we stan ๐
๐ฆ SEE ALSO ๐ฆ
razor-agents(1)razor-check(1)razor-admin(1)razor-report(1)razor-revoke(1)razor-whitelist(5)
go read them, bestie, they're all part of the same friend group ๐
okay that's the whole page!! and before you go โ this glorious document came to you from perl v5.44.0, dated 2026-10-17, filed under RAZOR-AGENT.CONF(1) in the User Contributed Perl Documentation section. mwah ๐ slay, go configure your agents ๐โจ
๐ฆ where this page comes from
- arch rolling: razor 2.88-2 ยท Artistic-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms