1RAZOR-REVOKE(1)       User Contributed Perl Documentation      RAZOR-REVOKE(1)
2
3
4

NAME

6       "razor-revoke" - Razor Revoking Agent
7

SYNOPSIS

9           razor-revoke [options]  file_with_mail_in_rfc822_format
10
11           $ cat mail | razor-revoke
12           $ razor-revoke ./mail
13           $ razor-revoke -d ./mail
14

DESCRIPTION

16       "razor-revoke" is the Razor Revoking Agent which is used for reporting
17       messages as NOT spam to a Razor Nomination Server. For instance, it can
18       be invoked if a check incorrectly marked a message as spam or after a
19       message was incorrectly reported as spam. "razor-revoke" should be
20       generally called from a MUA, although there are no restrictions on
21       invoking it from the command-line. "razor-revoke" is a filter, which
22       means that spam messages should be piped through it. By default,
23       "razor-revoke" backgrounds and detaches itself from the control
24       terminal at start-up.
25
26       If "razor-revoke" is passed more than one mail, it will revoke each
27       against the database.  Please use this with caution, we don't want the
28       database to have inaccurate information.  "razor-revoke" supports mbox-
29       formatted files with 1 or more mails in them as well as files
30       containing a single RFC 822 (non-mbox) mail.  More than one file may be
31       present on the command line, can be either a non-mbox or mbox in any
32       order.  However, more than one non-mbox mail cannot be read from stdin.
33
34       Both razor-report(1) and "razor-revoke" require user authentication to
35       work, see razor-admin(1). This allows the Razor Nomination Server to
36       keep track of how many messages a user reports and revokes. The more
37       messages a user correctly reports and/or correctly revokes, the more
38       trust the user earns. Likewise, when messages are incorrectly reported
39       or revoked, the trust goes down for that user. Highly trusted users
40       will have the most affect on the Razor database.
41
42       Note that even after a successful revoke, a mail might still be
43       considered spam in the Razor Catalogue. For instance, this can occur if
44       more trusted users consider the mail spam than not spam.
45

USAGE

47       "razor-revoke" takes following arguments:
48
49       "-h"
50           Print a usage message and exit.
51
52       "-v"
53           Print the version number and exit.
54
55       "-d | --verbose"
56           Print debugging information.
57
58       "-debuglevel=n | -dl=n"
59           Set debug level to 'n'.  Default is 3 without "-d" option, 9 with.
60
61       "-whitelist=file"
62           Specify file to use for whitelisting.  Overrides 'whitelist' option
63           in "razor-agent.conf".
64
65       "-s"
66           Simulate a check. Do everything except talk to the server.
67
68       "-conf=filename"
69           Specifies an alternate configuration file.  If not specified, it is
70           computed, see razor-agents(1) manpage for details.  See
71           razor-agent.conf(5) manpage for various configuration options.  The
72           default is "<razorhome>/razor-agent.conf".
73
74       "-home=dir"
75           Specify razorhome directory.  This is where the configuration file,
76           logfiles, identities, and server files live.  If not specified, it
77           is computed, see razor-agents(1) manpage for details.
78
79       "-logfile=file"
80           Specify file to log to instead of whats in configuration file.  The
81           default is "<razorhome>/razor-agent.log".
82
83       "-ident=filename"
84           Specify an identify file to use for authenticating with Razor
85           Servers.  If not specified, "<razorhome>/identity-<user>" is used.
86
87       "-rs=razor.server.com"
88           Use this Razor Nomination Server instead of reading
89           "servers.nomination.lst".
90
91       "-M | --mbox"
92           Accept a mailbox name on the command line and revoke every mail in
93           the mailbox against the database. If in foreground, "-f",
94           "razor-revoke" will print out the mail number of every mail that
95           was accepted by the Catalogue server.
96
97            C<razor-revoke -f -M ~/Mail/incorrectly-marked-spam>
98
99       "-i=filename"
100           Used identity from filename instead of reading
101           <razorhome>/identity.
102
103       "-a"
104           Authenticate only. If authenticated, exit 0; if not, exit 1.
105
106       "-f"
107           Stay in foreground, do not detach and run in background.
108

INTEGRATION WITH MUTT

110       Add the following line to "mutt.conf"
111
112            macro index R "|/usr/bin/razor-revoke"
113
114       Then press R on the spam message in "mutt" to report it with
115       "razor-revoke". Since "razor-revoke" forks, the control will return
116       immediately.
117

AUTHORS

119       Vipul Ved Prakash <mail@vipul.net>, and Chad Norwood <chad@samo.org>
120

SEE ALSO

122       razor-agents(1), razor-agent.conf(5), razor-check(1), razor-admin(1),
123       razor-report(1), razor-whitelist(5)
124

LICENSE

126       This is free software, distributed under the Artistic License 2.0.
127
128
129
130perl v5.38.0                      2023-07-21                   RAZOR-REVOKE(1)
Impressum