testsuite

NAME

Razor2::Client::Agent - Command-line interface for Vipul's Razor spam detection

SYNOPSIS

use Razor2::Client::Agent;

my $agent = Razor2::Client::Agent->new('razor-check');
$agent->read_options() or $agent->raise_error;
$agent->do_conf()      or $agent->raise_error;
my $rc = $agent->doit({});
exit $rc;

DESCRIPTION

Razor2::Client::Agent provides the user interface layer for Vipul's Razor, a distributed, collaborative spam detection and filtering network. It implements the command-line tools razor-check, razor-report, razor-revoke, and razor-admin.

This module inherits from Razor2::Client::Core (network protocol), Razor2::Client::Config (configuration management), Razor2::Logger (logging), and Razor2::String (utility functions).

Typical usage is through the command-line programs rather than calling this module directly. See razor-check(1), razor-report(1), razor-revoke(1), and razor-admin(1).

METHODS

CONFIGURATION

See razor-agent.conf(5) for configuration file format and options.

The razorhome directory (default ~/.razor/, system-wide /etc/razor/) stores configuration files, server lists, identity files, and logs.

SEE ALSO

razor-check(1), razor-report(1), razor-revoke(1), razor-admin(1), razor-agent.conf(5), razor-whitelist(5), Razor2::Client::Core, Razor2::Client::Config

AUTHORS

Vipul Ved Prakash, mail@vipul.net

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.