NAME

Mail::Decency::Policy::Core

SYNOPSIS

use Mail::DecencyPolicy;
use Mail::DecencyPolicy::AWL;

my $policy = Mail::DecencyPolicy->new( {
    config => '/etc/pdp/config'
} );

my $server = POE::Component::Server::Postfix->new(
    port    => 12345,
    host    => '127.0.0.1',
    filter  => 'Plain',
    handler => $policy->get_handler()
);
POE::Kernel->run;

DESCRIPTION

Base class for all policies

Postfix:DecencyPolicy is a bunch of policy servers which c

Base class for all decency policy handlers.

CLASS ATTRIBUTES

METHODS

get_handlers

Return handlers as a single sub-ref

handle

get_name

Used for the overloaded string context

AUTHOR

Ulrich Kautz <uk@fortrabbit.de>

COPYRIGHT

Copyright (c) 2010 the "AUTHOR" as listed above

LICENCSE

This library is free software and may be distributed under the same terms as perl itself.