.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "RAZOR-REVOKE 1" .TH RAZOR-REVOKE 1 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME "razor\-revoke" \- Razor Revoking Agent .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& razor\-revoke [options] file_with_mail_in_rfc822_format \& \& $ cat mail | razor\-revoke \& $ razor\-revoke ./mail \& $ razor\-revoke \-d ./mail .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" \&\f(CW\*(C`razor\-revoke\*(C'\fR is the Razor Revoking Agent which is used for reporting messages as NOT spam to a Razor Nomination Server. For instance, it can be invoked if a check incorrectly marked a message as spam or after a message was incorrectly reported as spam. \f(CW\*(C`razor\-revoke\*(C'\fR should be generally called from a MUA, although there are no restrictions on invoking it from the command-line. \f(CW\*(C`razor\-revoke\*(C'\fR is a filter, which means that spam messages should be piped through it. By default, \&\f(CW\*(C`razor\-revoke\*(C'\fR backgrounds and detaches itself from the control terminal at start-up. .PP If \f(CW\*(C`razor\-revoke\*(C'\fR is passed more than one mail, it will revoke each against the database. Please use this with caution, we don't want the database to have inaccurate information. \&\f(CW\*(C`razor\-revoke\*(C'\fR 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, can be either a non-mbox or mbox in any order. However, more than one non-mbox mail cannot be read from stdin. .PP Both \fBrazor\-report\fR\|(1) and \f(CW\*(C`razor\-revoke\*(C'\fR require user authentication to work, see \fBrazor\-admin\fR\|(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 database. .PP Note that even after a successful revoke, a mail might still be considered spam in the Razor Catalogue. For instance, this can occur if more trusted users consider the mail spam than not spam. .SH USAGE .IX Header "USAGE" \&\f(CW\*(C`razor\-revoke\*(C'\fR takes following arguments: .ie n .IP """\-h""" 4 .el .IP \f(CW\-h\fR 4 .IX Item "-h" Print a usage message and exit. .ie n .IP """\-v""" 4 .el .IP \f(CW\-v\fR 4 .IX Item "-v" Print the version number and exit. .ie n .IP """\-d | \-\-verbose""" 4 .el .IP "\f(CW\-d | \-\-verbose\fR" 4 .IX Item "-d | --verbose" Print debugging information. .ie n .IP """\-debuglevel=n | \-dl=n""" 4 .el .IP "\f(CW\-debuglevel=n | \-dl=n\fR" 4 .IX Item "-debuglevel=n | -dl=n" Set debug level to 'n'. Default is 3 without \f(CW\*(C`\-d\*(C'\fR option, 9 with. .ie n .IP """\-whitelist=file""" 4 .el .IP \f(CW\-whitelist=file\fR 4 .IX Item "-whitelist=file" Specify file to use for whitelisting. Overrides 'whitelist' option in \&\f(CW\*(C`razor\-agent.conf\*(C'\fR. .ie n .IP """\-s""" 4 .el .IP \f(CW\-s\fR 4 .IX Item "-s" Simulate a check. Do everything except talk to the server. .ie n .IP """\-conf=filename""" 4 .el .IP \f(CW\-conf=filename\fR 4 .IX Item "-conf=filename" Specifies an alternate configuration file. If not specified, it is computed, see \fBrazor\-agents\fR\|(1) manpage for details. See \fBrazor\-agent.conf\fR\|(5) manpage for various configuration options. The default is \f(CW\*(C`/razor\-agent.conf\*(C'\fR. .ie n .IP """\-home=dir""" 4 .el .IP \f(CW\-home=dir\fR 4 .IX Item "-home=dir" Specify razorhome directory. This is where the configuration file, logfiles, identities, and server files live. If not specified, it is computed, see \fBrazor\-agents\fR\|(1) manpage for details. .ie n .IP """\-logfile=file""" 4 .el .IP \f(CW\-logfile=file\fR 4 .IX Item "-logfile=file" Specify file to log to instead of whats in configuration file. The default is \f(CW\*(C`/razor\-agent.log\*(C'\fR. .ie n .IP """\-ident=filename""" 4 .el .IP \f(CW\-ident=filename\fR 4 .IX Item "-ident=filename" Specify an identify file to use for authenticating with Razor Servers. If not specified, \f(CW\*(C`/identity\-\*(C'\fR is used. .ie n .IP """\-rs=razor.server.com""" 4 .el .IP \f(CW\-rs=razor.server.com\fR 4 .IX Item "-rs=razor.server.com" Use this Razor Nomination Server instead of reading \&\f(CW\*(C`servers.nomination.lst\*(C'\fR. .ie n .IP """\-M | \-\-mbox""" 4 .el .IP "\f(CW\-M | \-\-mbox\fR" 4 .IX Item "-M | --mbox" Accept a mailbox name on the command line and revoke every mail in the mailbox against the database. If in foreground, \f(CW\*(C`\-f\*(C'\fR, \f(CW\*(C`razor\-revoke\*(C'\fR will print out the mail number of every mail that was accepted by the Catalogue server. .Sp .Vb 1 \& C .Ve .ie n .IP """\-i=filename""" 4 .el .IP \f(CW\-i=filename\fR 4 .IX Item "-i=filename" Used identity from filename instead of reading /identity. .ie n .IP """\-a""" 4 .el .IP \f(CW\-a\fR 4 .IX Item "-a" Authenticate only. If authenticated, exit 0; if not, exit 1. .ie n .IP """\-f""" 4 .el .IP \f(CW\-f\fR 4 .IX Item "-f" Stay in foreground, do not detach and run in background. .SH "INTEGRATION WITH MUTT" .IX Header "INTEGRATION WITH MUTT" Add the following line to \f(CW\*(C`mutt.conf\*(C'\fR .PP .Vb 1 \& macro index R "|/usr/bin/razor\-revoke" .Ve .PP Then press R on the spam message in \f(CW\*(C`mutt\*(C'\fR to report it with \&\f(CW\*(C`razor\-revoke\*(C'\fR. Since \f(CW\*(C`razor\-revoke\*(C'\fR forks, the control will return immediately. .SH AUTHORS .IX Header "AUTHORS" Vipul Ved Prakash , and Chad Norwood .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBrazor\-agents\fR\|(1), \fBrazor\-agent.conf\fR\|(5), \fBrazor\-check\fR\|(1), \&\fBrazor\-admin\fR\|(1), \fBrazor\-report\fR\|(1), \fBrazor\-whitelist\fR\|(5) .SH LICENSE .IX Header "LICENSE" This is free software, distributed under the Artistic License 2.0.