????

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-report.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-REPORT 1"
.TH RAZOR-REPORT 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\-report" \- Razor Reporting Agent
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
\&    razor\-report [options]  file_with_mail_in_rfc822_format
\&
\&    $ cat mail | razor\-report
\&    $ razor\-report ./mail 
\&    $ razor\-report \-d ./mail
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\f(CW\*(C`razor\-report\*(C'\fR is the Razor Reporting Agent which is used for reporting
spam messages to a Razor Nomination Server. \f(CW\*(C`razor\-report\*(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\-report\*(C'\fR is a filter, which
means that spam messages should be piped through it. By default,
\&\f(CW\*(C`razor\-report\*(C'\fR backgrounds and detaches itself from the control
terminal at start-up.
.PP
If \f(CW\*(C`razor\-report\*(C'\fR is passed more than one mail, it will report each against
the database.  Please use this with caution, we don't want the database 
filled up with mails incorrectly identified as spam.
\&\f(CW\*(C`razor\-report\*(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.
.PP
However, more than one non-mbox mail cannot be read from stdin.
Both \f(CW\*(C`razor\-report\*(C'\fR and \fIrazor\-revoke\fR\|(1) 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 Catalogue.
.SH "USAGE"
.IX Header "USAGE"
\&\f(CW\*(C`razor\-report\*(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 to stdout.
.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 """\-H""" 4
.el .IP "\f(CW\-H\fR" 4
.IX Item "-H"
Compute and print the signature of the mail contents and exit. If
\&\f(CW\*(C`\-e=integer\*(C'\fR is not specified, all supported engines will be used.
.ie n .IP """\-S=string""" 4
.el .IP "\f(CW\-S=string\fR" 4
.IX Item "-S=string"
Accept a list of pre-computed (with \f(CW\*(C`\-H\*(C'\fR) 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
\&\f(CW\*(C`\-e=integer\*(C'\fR. Usage:
.Sp
razor-report \-e 1 \-S a8a3d545adb73f9733675571ffeaf10cba87745b
.ie n .IP """\-e=integer""" 4
.el .IP "\f(CW\-e=integer\fR" 4
.IX Item "-e=integer"
Specify engine used to create signatures. Must be 1, 2, 3, or 4 in this
version. Engine 1, or \f(CW\*(C`\-e=1\*(C'\fR, is used for Razor 1.x signatures. Used
only with \f(CW\*(C`\-S=string\*(C'\fR or \f(CW\*(C`\-H\*(C'\fR.
.ie n .IP """\-ep4=string""" 4
.el .IP "\f(CW\-ep4=string\fR" 4
.IX Item "-ep4=string"
String used by engine 4 when computing signatures. Published by the
Razor Nomination Servers and updated very frequently. Used only when
\&\f(CW\*(C`\-e=4\*(C'\fR.
.ie n .IP """\-i=filename""" 4
.el .IP "\f(CW\-i=filename\fR" 4
.IX Item "-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 \fIrazor\-agents.conf\fR\|(5) for more on 
<razorhome>. 
\&\-\-\-fixme\-\-\-\-
.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 S "|/usr/bin/razor\-report"
.Ve
.PP
Then press S on the spam message in \f(CW\*(C`mutt\*(C'\fR to report it with
\&\f(CW\*(C`razor\-report\*(C'\fR. Since \f(CW\*(C`razor\-report\*(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\-revoke\fR\|(1), \fIrazor\-whitelist\fR\|(5)
.SH "LICENSE"
.IX Header "LICENSE"
This is free software, distributed under the Artistic License 2.0.