Mail::SPF::Mech::A



Mail::SPF::Mech::A

NAME
DESCRIPTION
SEE ALSO
AUTHORS

NAME

Mail::SPF::Mech::A − SPF record "a" mechanism class

DESCRIPTION

An object of class Mail::SPF::Mech::A represents an SPF record mechanism of type "a".

Constructors
The following constructors are provided:
new(%options)
: returns Mail::SPF::Mech::A

Creates a new SPF record "a" mechanism object.

%options is a list of key/value pairs representing any of the following options:
qualifier
domain_spec
ipv4_prefix_length
ipv6_prefix_length

See "new" in Mail::SPF::Mech.

new_from_string($text, %options): returns Mail::SPF::Mech::A; throws
Mail::SPF::ENothingToParse
, Mail::SPF::EInvalidMech

Creates a new SPF record "a" mechanism object by parsing the string and any options given.

Class methods
The following class methods are provided:
default_qualifier
default_ipv4_prefix_length
default_ipv6_prefix_length
qualifier_pattern

See "Class methods" in Mail::SPF::Mech.

name: returns string

Returns ’a’.

name_pattern: returns Regexp

Returns a regular expression that matches a mechanism name of ’a’.

Instance methods
The following instance methods are provided:
text
qualifier
params
stringify
domain
match_in_domain

See "Instance methods" in Mail::SPF::Mech.

domain_spec: returns Mail::SPF::MacroString

Returns the "domain−spec" parameter of the mechanism.

ipv4_prefix_length: returns integer

Returns the IPv4 network prefix length of the mechanism.

ipv6_prefix_length: returns integer

Returns the IPv6 network prefix length of the mechanism.

match($server, $request): returns boolean

Checks whether the mechanism’s target domain name (that is, any of its DNS "A" or "AAAA" host addresses) matches the given request’s IP address (see "ip_address" in Mail::SPF::Request), and returns true if it does, or false otherwise. The mechanism’s IP network prefix lengths are respected when matching address records against the request’s IP address. See RFC 4408, 5, for the exact algorithm used.

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>



More Linux Commands

manpages/asn1_read_node_value.3.html
asn1_read_node_value(3) API function - Linux manual page....
Returns the value a data node inside a asn1_node structure. The data returned should be handled as constant values. RETURNS ASN1_SUCCESS if the node exists. COP

manpages/gethostid.3.html
gethostid(3) - get or set the unique identifier of the curre
gethostid() and sethostid() respectively get or set a unique 32-bit identifier for the current machine. The 32-bit identifier is intended to be unique among all

manpages/Tcl_InterpDeleted.3.html
Tcl_InterpDeleted(3) - create and delete Tcl command interpr
Tcl_CreateInterp creates a new interpreter structure and returns a token for it. The token is required in calls to most other Tcl procedures, such as Tcl_Create

manpages/Getopt::Long.3pm.html
Getopt::Long(3pm) - Extended processing of command line opti
The Getopt::Long module implements an extended getopt function called GetOptions(). This function adheres to the POSIX syntax for command line options, with GNU

manpages/isprint.3.html
isprint(3) - character classification routines (Man Page)...
These functions check whether c, which must have the value of an unsigned char or EOF, falls into a certain character class according to the specified locale. T

manpages/xprop.1.html
xprop(1) - property displayer for X - Linux manual page.....
For each of these properties, its value on the selected window or font is printed using the supplied formatting information if any. If no formatting information

manpages/Tie::StdHandle.3pm.html
Tie::StdHandle(3pm) - base class definitions for tied handle
The Tie::StdHandle package provide most methods for file handles described in perltie (the exceptions are UNTIE and DESTROY). It causes tied file handles to beh

manpages/rdisc.8.html
rdisc(8) - network router discovery daemon - Linux man page
rdisc implements client side of the ICMP router discover protocol. rdisc is invoked at boot time to populate the network routing tables with default routes. rdi

manpages/XmbufQueryExtension.3.html
XmbufQueryExtension(3) - X multibuffering functions.........
The application programming library for the X11 Double-Buffering, Multi-Buffering, and Stereo Extension contains the interfaces described below. With the except

manpages/XtAppAddSignal.3.html
XtAppAddSignal(3) - register and remove a signal source.....
The XtAppAddSignal function initiates a mechanism for handling signals within the context of the Intrinsics. Prior to establishing an operating system dependent

manpages/ld-linux.so.8.html
ld-linux.so(8) - dynamic linker/loader - Linux manual page
The programs ld.so and ld-linux.so* find and load the shared libraries needed by a program, prepare the program to run, and then run it. Linux binaries require

manpages/XkbAllocDeviceLedInfo.3.html
XkbAllocDeviceLedInfo(3) - Obtain an XkbDeviceLedInfoRec str
XkbAllocDeviceLedInfo allocates space for an XkbDeviceLedInfoRec and places it in device_info. If num_needed is nonzero, num_needed XkbIndicatorMapRec structure





We can't live, work or learn in freedom unless the software we use is free.