Mail::SPF::Mech::IP4



Mail::SPF::Mech::IP4

NAME
DESCRIPTION
SEE ALSO
AUTHORS

NAME

Mail::SPF::Mech::IP4 − SPF record "ip4" mechanism class

DESCRIPTION

An object of class Mail::SPF::Mech::IP4 represents an SPF record mechanism of type "ip4".

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

Creates a new SPF record "ip4" mechanism object.

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

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

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

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

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

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

name: returns string

Returns ’ip4’.

name_pattern: returns Regexp

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

See Mail::SPF::Mech for other supported class methods.

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

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

ip_network: returns NetAddr::IP

Returns the IP address network parameter of the mechanism.

match($server, $request): returns boolean

Returns true if the mechanism’s "ip_network" equals or contains the given request’s IP address, or false otherwise. See RFC 4408, 5.6, 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>



More Linux Commands

manpages/Tk_GetJustifyFromObj.3.html
Tk_GetJustifyFromObj(3) - translate between strings and just
Tk_GetJustifyFromObj places in *justifyPtr the justify value corresponding to objPtrs value. This value will be one of the following: TK_JUSTIFY_LEFT Means that

manpages/wsyncdown.3ncurses.html
wsyncdown(3ncurses) - create curses windows - Linux man page
Calling newwin creates and returns a pointer to a new window with the given number of lines and columns. The upper left-hand corner of the window is at line beg

manpages/defaultdomain.5.html
defaultdomain(5) - file which contains the NIS/YP domain nam
/etc/defaultdomain is used by the boot scripts to set the NIS/YP domain name for a system as returned by the getdomainname(2) function. The file contains one li

manpages/set_fieldtype_choice.3form.html
set_fieldtype_choice(3form) - define validation-field types
The function new_fieldtype creates a new field type usable for data validation. You supply it with field_check, a predicate to check the validity of an entered

manpages/gvfs-open.1.html
gvfs-open(1) Open files with the default handler (Man Page)
gvfs-open opens files with the default application that is registered to handle files of this type. Gvfs obtains this information from the shared-mime-info data

manpages/setbuf.3.html
setbuf(3) - stream buffering operations - Linux manual page
The three types of buffering available are unbuffered, block buffered, and line buffered. When an output stream is unbuffered, information appears on the destin

manpages/TIFFReadEncodedTile.3tiff.html
TIFFReadEncodedTile(3tiff) - read and decode a tile of data
Read the specified tile of data and place up to size bytes of decompressed information in the (user supplied) data buffer. NOTES The value of tile is a raw tile

manpages/git-var.1.html
git-var(1) - Show a git logical variable - Linux man page...
Prints a Git logical variable. OPTIONS -l Cause the logical variables to be listed. In addition, all the variables of the Git configuration file .git/config are

manpages/XtConfigureWidget.3.html
XtConfigureWidget(3) - move and resize widgets (Man Page)...
The XtConfigureWidget function returns immediately if the specified geometry fields are the same as the old values. Otherwise, XtConfigureWidget writes the new

manpages/FcConfigGetCache.3.html
FcConfigGetCache(3) - DEPRECATED used to return per-user cac
With fontconfig no longer using per-user cache files, this function now simply returns NULL to indicate that no per-user file exists. VERSION Fontconfig version

manpages/wscrl.3ncurses.html
wscrl(3ncurses) - scroll a curses window - Linux man page...
wscrl.3ncurses - The scroll routine scrolls the window up one line. This involves moving the lines in the window data structure. As an optimization, if the scro

manpages/xstdcmap.1.html
xstdcmap(1) - X standard colormap utility - Linux man page
The xstdcmap utility can be used to selectively define standard colormap properties. It is intended to be run from a users X startup script to create standard c





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