Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #534
Difficulty: Medium
All programming languages have an explicit Boolean type.
True or False?
Linux & Unix Commands - Search Man Pages

mail::spf(3) [suse man page]

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.1 2010-07-05 Mail::SPF(3)

Check Out this Related Man Page

Mail::SPF::Mech::All(3) 				User Contributed Perl Documentation				   Mail::SPF::Mech::All(3)

NAME
Mail::SPF::Mech::All - SPF record "all" mechanism class DESCRIPTION
An object of class Mail::SPF::Mech::All represents an SPF record mechanism of type "all". Constructors The following constructors are provided: new: returns Mail::SPF::Mech::All Creates a new SPF record "all" mechanism object. %options is a list of key/value pairs representing any of the following options: qualifier See "new" in Mail::SPF::Mech. new_from_string($text, %options): returns Mail::SPF::Mech::All; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech Creates a new SPF record "all" mechanism object by parsing the string and any options given. Class methods The following class methods are provided: default_qualifier qualifier_pattern See "Class methods" in Mail::SPF::Mech. name: returns string Returns 'all'. name_pattern: returns Regexp Returns a regular expression that matches a mechanism name of 'all'. Instance methods The following instance methods are provided: text qualifier name stringify See "Instance methods" in Mail::SPF::Mech. match($server, $request): returns boolean Returns true because the "all" mechanism always matches. See RFC 4408, 5.1, for details. SEE ALSO
Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech <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::Mech::All(3)

Featured Tech Videos