RAZOR-REPORT(1)
π¦ RAZOR-REPORT(1) β omg bestie, it's the report spam tool
okay so welcome to razor-report(1), also known as the Razor Reporting Agent π
this is the perl-documented one, and yes we're gonna read the whole thing together, no skimming, periodt.
β¨ NAME β¨
razor-report β the Razor Reporting Agent π (that's literally the name, she's an agent, she reports, iconic)
πΈ SYNOPSIS πΈ
razor-report [options] file_with_mail_in_rfc822_format
$ cat mail | razor-report
$ razor-report ./mail
$ razor-report -d ./mail
like, four whole ways to feed her, pick your fighter π«Ά
π DESCRIPTION π
okay so razor-report is the Razor Reporting Agent, and her whole job is reporting spam messages to a Razor Nomination Server π₯ she should generally get called from a MUA, but ngl there are no restrictions on invoking her straight from the command-line β do what you want, main character energy.
razor-report is a filter, which means spam messages should be piped through her π and by default she backgrounds and detaches herself from the control terminal at start-up (she's mysterious like that, she leaves the chat).
if razor-report is passed more than one mail, she will report each against the database. β οΈ but bestie, please use this with caution β we don't want the database filled up with mails incorrectly identified as spam, that's a whole mess π
razor-report supports mbox-formatted files with 1 or more mails in them, as well as files containing a single RFC 822 (non-mbox) mail. more than one file may be present on the command line, and each can be either a non-mbox or mbox in any order π«
but!! more than one non-mbox mail cannot be read from stdin. that's the rule, she said so.
both razor-report and razor-revoke(1) require user authentication to work β see razor-admin(1) π this allows the Razor Nomination Server to keep track of how many messages a user reports and revokes. the more messages a user correctly reports and/or correctly revokes, the more trust the user earns β likewise, when messages are incorrectly reported or revoked, the trust goes down for that user π highly trusted users will have the most affect on the Razor Catalogue. yes, lowercase "affect", that's how the original said it, I don't make the rules π
π USAGE π
razor-report takes the following arguments:
-hβ print a usage message and exit. that's it, that's the whole vibe π-vβ print the version number and exit. she's telling you her age π-d|--verboseβ print debugging information to stdout. loud and proud, we love a transparent queen β¨-debuglevel=n|-dl=nβ set debug level to n. default is3without-d, and9with. yeah she dials it up to nine when she's in debug mode π₯-whitelist=fileβ specify file to use for whitelisting. overrides the'whitelist'option inrazor-agent.confπ«Ά-sβ simulate a check. do everything except talk to the server. she's practicing her speech in the mirror, no cap πͺ-conf=filenameβ specifies an alternate configuration file. if not specified, it is computed, see razor-agents(1) manpage for details. see razor-agent.conf(5) manpage for various configuration options. the default is<razorhome>/razor-agent.confπΈ-home=dirβ specify razorhome directory. this is where the configuration file, logfiles, identities, and server files live π if not specified, it is computed, see razor-agents(1) manpage for details.-logfile=fileβ specify file to log to instead of whats in configuration file. the default is<razorhome>/razor-agent.logπ (and yes, "whats" with no apostrophe, we keep it real here)-ident=filenameβ specify an identify file to use for authenticating with Razor Servers. if not specified,<razorhome>/identity-<user>is used πͺͺ-rs=razor.server.comβ use this Razor Nomination Server instead of readingservers.nomination.lstπ pick your own server, queen-Hβ compute and print the signature of the mail contents and exit. if-e=integeris not specified, all supported engines will be used π§-S=stringβ accept a list of pre-computed (with-H) signatures on the command line, instead of computing one from mail content. signatures can be submitted in hex or base64, but base64 is preferred π requires-e=integer. usage:
razor-report -e 1 -S a8a3d545adb73f9733675571ffeaf10cba87745b
-e=integerβ specify engine used to create signatures. must be1,2,3, or4in this version βοΈ engine 1, or-e=1, is used for Razor 1.x signatures. used only with-S=stringor-H.-ep4=stringβ string used by engine 4 when computing signatures. published by the Razor Nomination Servers and updated very frequently π used only when-e=4.-i=filenameβ use identity from filename instead of reading<razorhome>/identity. Razor Servers compute trust for each unique identity π«Ά Razor Agents figure out the identity by a 2 step process. first, check if identity is specified via cmd-line (-i=file). if not there, then look in<razorhome>for identity file. if<razorhome>has no identity file, authentication will fail β you cannot report or revoke π see razor-agents.conf(5) for more on<razorhome>.---fixme----(yep, that's in the source, I'm not hiding it, we don't gatekeep π)-aβ authenticate only. if authenticated, exit0; if not, exit1. binary mood, she either is or she isn't β¨-fβ stay in foreground, do not detach and run in background. clingy in the best way π₯Ί
π INTEGRATION WITH MUTT π
add the following line to mutt.conf:
macro index S "|/usr/bin/razor-report"
then press S on the spam message in mutt to report it with razor-report π₯ since razor-report forks, the control will return immediately. slay, no waiting around π
π AUTHORS π
Vipul Ved Prakash <mail@vipul.net>, and Chad Norwood <chad@samo.org> β legends, both of them π
π SEE ALSO π
razor-agents(1), razor-agent.conf(5), razor-check(1), razor-admin(1), razor-revoke(1), razor-whitelist(5) β go read the whole friend group, they're all connected π¦
π LICENSE π
this is free software, distributed under the Artistic License 2.0 π
okay that's the whole page, go report some spam responsibly bestie πβ¨ mwah π β this one's perl v5.44.0, dated 2026-10-17, and that's the tea βπ«Ά
π¦ 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