1Mail::SPF::Mech::IP6(3)User Contributed Perl DocumentatioMnail::SPF::Mech::IP6(3)
2
3
4

NAME

6       Mail::SPF::Mech::IP6 - SPF record "ip6" mechanism class
7

DESCRIPTION

9       An object of class Mail::SPF::Mech::IP6 represents an SPF record
10       mechanism of type "ip6".
11
12   Constructors
13       The following constructors are provided:
14
15       new(%options): returns Mail::SPF::Mech::IP6
16           Creates a new SPF record "ip6" mechanism object.
17
18           %options is a list of key/value pairs representing any of the
19           following options:
20
21           qualifier
22           ip_network
23               See "new" in Mail::SPF::Mech.
24
25       new_from_string($text, %options): returns Mail::SPF::Mech::IP6; throws
26       Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech
27           Creates a new SPF record "ip6" mechanism object by parsing the
28           string and any options given.
29
30   Class methods
31       The following class methods are provided:
32
33       default_qualifier
34       default_ipv6_prefix_length
35       qualifier_pattern
36           See "Class methods" in Mail::SPF::Mech.
37
38       name: returns string
39           Returns 'ip6'.
40
41       name_pattern: returns Regexp
42           Returns a regular expression that matches a mechanism name of
43           'ip6'.
44
45   Instance methods
46       The following instance methods are provided:
47
48       text
49       qualifier
50       params
51       stringify
52           See "Instance methods" in Mail::SPF::Mech.
53
54       ip_network: returns NetAddr::IP
55           Returns the IP address network parameter of the mechanism.
56
57       match($server, $request): returns boolean
58           Returns true if the mechanism's "ip_network" equals or contains the
59           given request's IP address, or false otherwise.  See RFC 4408, 5.6,
60           for details.
61

SEE ALSO

63       Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech
64
65       <http://www.ietf.org/rfc/rfc4408.txt>
66
67       For availability, support, and license information, see the README file
68       included with Mail::SPF.
69

AUTHORS

71       Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
72
73
74
75perl v5.12.2                      2010-12-06           Mail::SPF::Mech::IP6(3)
Impressum