1Mail::SPF::Mod::RedirecUts(e3r)Contributed Perl DocumentMaatiilo:n:SPF::Mod::Redirect(3)
2
3
4

NAME

6       Mail::SPF::Mod::Redirect - SPF record "redirect" modifier class
7

DESCRIPTION

9       An object of class Mail::SPF::Mod::Redirect represents an SPF record
10       modifier of type "redirect".
11
12   Constructors
13       The following constructors are provided:
14
15       new(%options): returns Mail::SPF::Mod::Redirect
16           Creates a new SPF record "redirect" 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::Redirect;
25       throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMod
26           Creates a new SPF record "redirect" 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 'redirect'.
34
35       name_pattern: returns Regexp
36           Returns a regular expression that matches a modifier name of
37           'redirect'.
38
39       precedence: returns real
40           Returns a precedence value of 0.8.  See "precedence" in
41           Mail::SPF::Mod.
42
43   Instance methods
44       The following instance methods are provided:
45
46       params
47           See "params" in Mail::SPF::Mod.
48
49       domain_spec: returns Mail::SPF::MacroString
50           Returns the "domain-spec" parameter of the modifier.
51
52       process($server, $request, $result): throws Mail::SPF::Result
53           If no mechanism matched during the evaluation of the current SPF
54           record, performs a recursive SPF check using the given SPF server
55           and request objects and substituting the modifier's target domain
56           name for the request's authority domain.  The result of the
57           recursive SPF check is then thrown as the result of the current
58           record's evaluation.  However, if the target domain has no
59           acceptable SPF record, a "permerror" result is thrown.  See RFC
60           4408, 6.1, for details.
61
62       See Mail::SPF::Mod for other supported instance methods.
63

SEE ALSO

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

AUTHORS

73       Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
74
75
76
77perl v5.28.1                      2019-02-02       Mail::SPF::Mod::Redirect(3)
Impressum