1Mail::SPF::Mod::Exp(3)User Contributed Perl DocumentationMail::SPF::Mod::Exp(3)
2
3
4
6 Mail::SPF::Mod::Exp - SPF record "exp" modifier class
7
9 An object of class Mail::SPF::Mod::Exp represents an SPF record
10 modifier of type "exp".
11
12 Constructors
13 The following constructors are provided:
14
15 new(%options): returns Mail::SPF::Mod::Exp
16 Creates a new SPF record "exp" modifier object.
17
18 %options is a list of key/value pairs representing any of the
19 following options:
20
21 domain_spec
22 See "new" in Mail::SPF::Mod.
23
24 new_from_string($text, %options): returns Mail::SPF::Mod::Exp; throws
25 Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMod
26 Creates a new SPF record "exp" modifier object by parsing the
27 string and any options given.
28
29 Class methods
30 The following class methods are provided:
31
32 name: returns string
33 Returns 'exp'.
34
35 name_pattern: returns Regexp
36 Returns a regular expression that matches a modifier name of 'exp'.
37
38 precedence: returns real
39 Returns a precedence value of 0.2. See "precedence" in
40 Mail::SPF::Mod.
41
42 Instance methods
43 The following instance methods are provided:
44
45 params
46 See "params" in Mail::SPF::Mod.
47
48 domain_spec: returns Mail::SPF::MacroString
49 Returns the "domain-spec" parameter of the modifier.
50
51 process($server, $request, $result)
52 If the given SPF result is a "fail" result, retrieves the authority
53 domain's explanation string from the modifier's target domain and
54 attaches it to the SPF result. If an error occurs during the
55 retrieval of the explanation string, does nothing, as if the
56 modifier was not present. See RFC 4408, 6.2, for details.
57
58 See Mail::SPF::Mod for other supported instance methods.
59
61 Mail::SPF, Mail::SPF::Mod, Mail::SPF::Term, Mail::SPF::Record
62
63 <http://tools.ietf.org/html/rfc4408>
64
65 For availability, support, and license information, see the README file
66 included with Mail::SPF.
67
69 Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
70
71
72
73perl v5.34.0 2022-01-21 Mail::SPF::Mod::Exp(3)