Mail::SPF(3) User Contributed Perl Documentation Mail::SPF(3)NAME
Mail::SPF - An object-oriented implementation of Sender Policy Framework
VERSION
2.007
SYNOPSIS
use Mail::SPF;
my $spf_server = 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 => 'mta.example.com' # optional,
# for %{h} macro expansion
);
my $result = $spf_server->process($request);
print("$result
");
my $result_code = $result->code; # 'pass', 'fail', etc.
my $local_exp = $result->local_explanation;
my $authority_exp = $result->authority_explanation
if $result->is_code('fail');
my $spf_header = $result->received_spf_header;
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
The SPF project
<http://www.openspf.org>
The SPFv1 specification (RFC 4408)
<http://www.openspf.org/Specifications>, <http://www.ietf.org/rfc/rfc4408.txt>
AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
perl v5.12.5 2013-08-25 Mail::SPF(3)
Check Out this Related Man Page
Mail::SPF::Term(3) User Contributed Perl Documentation Mail::SPF::Term(3)NAME
Mail::SPF::Term - SPF record term class
DESCRIPTION
An object of class Mail::SPF::Term represents a term within an SPF record. Mail::SPF::Term cannot be instantiated directly. Create an
instance of a concrete sub-class instead.
Constructor
The following constructor is provided:
new(%options): returns Mail::SPF::Term
Abstract. Creates a new SPF record term object.
%options is a list of key/value pairs, however Mail::SPF::Term itself specifies no constructor options.
new_from_string($text, %options): returns Mail::SPF::Term; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidTerm
Abstract. Creates a new SPF record term object by parsing the string and any options given.
Class methods
The following class methods are provided:
name_pattern: returns Regexp
Returns a regular expression that matches any legal name for an SPF record term.
Instance methods
The following instance methods are provided:
text: returns string; throws Mail::SPF::ENoUnparsedText
Returns the unparsed text of the term. Throws a Mail::SPF::ENoUnparsedText exception if the term was created synthetically instead of
being parsed, and no text was provided.
name: returns string
Abstract. Returns the name of the term.
SEE ALSO
Mail::SPF, Mail::SPF::Record, Mail::SPF::Mech, Mail::SPF::Mod
<http://www.ietf.org/rfc/rfc4408.txt>
For availability, support, and license information, see the README file included with Mail::SPF.
AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
perl v5.12.1 2010-07-05 Mail::SPF::Term(3)
Dear all!
We are using a SLES 10 SP2 system where we installed a
Mail Server according to this tutorial:
Cool Solutions: Configuring a Mail Server on SLES
Everything is running fine except for the Masquerading
feature. For instance the e-mail sender should have this
"user@example.com"... (0 Replies)
I have a code block which sends a mail using Mail::Sender. Everything works great now. I just want to know how to check whether the status of sending mail is success or failure. Based on which I will log the result in my log file.
How can I do this? Any idea please? (2 Replies)
Hello,
I have issue with my Zimbra Mail Server 6.0.7. In that i have configured HTTPS for client login and for whole session. but it stills communicate in http based authentication. due to that some sniffing software are easily sniffing details.
So how do i configure completely HTTPS in... (3 Replies)
Dears
How to configure RHEL6 to support Aleton 4408 in DSR(Direct Server Return) mode
We have config Aleton 4408 + Windows 2008R2
then Windows set loopback interface with VIP.
the exec the following command in CMD
netsh interface ipv4 set interface "net" weakhostreceive=enabled
netsh... (0 Replies)
Discussion started by: nnnnnnine
0 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi Admin,
I am unable to register .
Request you to help me in getting my registration done.
Name: Raghavendra Kulkarni
Mail id : <removed>
Thanking you in advance for your support. (1 Reply)