Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mail::spf5.18(3) [mojave 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.009 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://tools.ietf.org/html/rfc4408> AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org> perl v5.18.2 2017-10-06 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://tools.ietf.org/html/rfc4408> 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.16.2 2013-08-25 Mail::SPF::Term(3)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail bombing

I have just recently had a look at this website and came across the following article: http://www.silkroad.com/papers/html/bomb/node5.html I'm referring to this as this is exactly what is happening to me at this moment in time, and has been going on for over a week now. So far I've had to... (2 Replies)
Discussion started by: Spiffy
2 Replies

2. Linux

Reg:Postfix Mail Server

(0 Replies)
Discussion started by: ramjimh
0 Replies

3. IP Networking

Postfix: Masquerading_Domains does not work

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)
Discussion started by: xunil321
0 Replies

4. Shell Programming and Scripting

Mail::Sender - How to Check Result Code?

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)
Discussion started by: dahlia84
2 Replies

5. Red Hat

Zimbra Mail Server Security Issue

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)
Discussion started by: Chintanghanti
3 Replies

6. IP Networking

How to configure RHEL6 to support Aleton 4408 in DSR mode?

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

7. Forum Support Area for Unregistered Users & Account Problems

Cannot able to Register!

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)
Discussion started by: Unregistered
1 Replies