NAME
Mail::SPF - An object-oriented implementation of Sender Policy Framework
VERSION
2.000_001
SYNOPSIS
use Mail::SPF;
my $spf = Mail::SPF::Server->new();
my $request = Mail::SPF::Request->new(
versions => [1, 2], # optional
scope => 'mfrom', # or 'helo', 'pra'
identity => 'fred@example.com',
ip_address => '192.168.0.1',
helo_identity # optional,
=> 'mta.example.com' # for %{h} macro expansion
);
my $result = $spf->process($request);
print("Result is ", $result->name, "\n");
DESCRIPTION
Mail::SPF is an object-oriented implementation of Sender Policy Framework (SPF). See http://www.openspf.org for more information about SPF.
This class collection aims to fully conform to the SPF specification (RFC 4408) so as to serve both as a production quality SPF implementation and as a reference for other developers of SPF implementations.
SEE ALSO
Mail::SPF::Server, Mail::SPF::Request, Mail::SPF::Result
For availability, support, and license information, see the README file included with Mail::SPF.
REFERENCES
AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>