????

Your IP : 216.73.216.174


Current Path : /usr/src/razor-agents-2.85/blib/man1/
Upload File :
Current File : //usr/src/razor-agents-2.85/blib/man1/razor-revoke.1

.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
.\"
.\" 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
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    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 turned on, 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 "2008-07-21" "perl v5.16.3" "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 \s-1NOT\s0 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 \s-1MUA,\s0 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 \s-1RFC 822 \s0(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 \fIrazor\-report\fR\|(1) and \f(CW\*(C`razor\-revoke\*(C'\fR require user authentication to
work, see \fIrazor\-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 \fIrazor\-agents\fR\|(1) manpage for details.
See \fIrazor\-agent.conf\fR\|(5) manpage for various configuration options.
The default is \f(CW\*(C`<razorhome>/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 \fIrazor\-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`<razorhome>/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`<razorhome>/identity\-<user>\*(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<razor\-revoke \-f \-M ~/Mail/incorrectly\-marked\-spam>
.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 <razorhome>/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 <mail@vipul.net>, and Chad Norwood <chad@samo.org>
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIrazor\-agents\fR\|(1), \fIrazor\-agent.conf\fR\|(5), \fIrazor\-check\fR\|(1), 
\&\fIrazor\-admin\fR\|(1), \fIrazor\-report\fR\|(1), \fIrazor\-whitelist\fR\|(5)
.SH "LICENSE"
.IX Header "LICENSE"
This is free software, distributed under the Artistic License 2.0.