1Mail::SPF::Mech::ExistsU(s3e)r Contributed Perl DocumentaMtaiioln::SPF::Mech::Exists(3)
2
3
4

NAME

6       Mail::SPF::Mech::Exists - SPF record "exists" mechanism class
7

DESCRIPTION

9       An object of class Mail::SPF::Mech::Exists represents an SPF record
10       mechanism of type "exists".
11
12   Constructors
13       The following constructors are provided:
14
15       new(%options): returns Mail::SPF::Mech::Exists
16           Creates a new SPF record "exists" mechanism object.
17
18           %options is a list of key/value pairs representing any of the
19           following options:
20
21           qualifier
22           domain_spec
23               See "new" in Mail::SPF::Mech.
24
25       new_from_string($text, %options): returns Mail::SPF::Mech::Exists;
26       throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech
27           Creates a new SPF record "exists" 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       qualifier_pattern
35           See "Class methods" in Mail::SPF::Mech.
36
37       name: returns string
38           Returns 'exists'.
39
40       name_pattern: returns Regexp
41           Returns a regular expression that matches a mechanism name of
42           'exists'.
43
44   Instance methods
45       The following instance methods are provided:
46
47       text
48       qualifier
49       params
50       stringify
51           See "Instance methods" in Mail::SPF::Mech.
52
53       domain_spec: returns Mail::SPF::MacroString
54           Returns the "domain-spec" parameter of the mechanism.
55
56       match($server, $request): returns boolean
57           Checks whether a DNS "A" record exists for the mechanism's target
58           domain name, and returns true if one does, or false otherwise.  See
59           RFC 4408, 5.7, for details.
60

SEE ALSO

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

AUTHORS

70       Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
71
72
73
74perl v5.36.0                      2023-01-20        Mail::SPF::Mech::Exists(3)
Impressum