1Mail::SpamAssassin::PluUgsienr::CSoPnFt(r3i)buted Perl DMoaciulm:e:nStpaatmiAosnsassin::Plugin::SPF(3)
2
3
4
6 Mail::SpamAssassin::Plugin::SPF - perform SPF verification tests
7
9 loadplugin Mail::SpamAssassin::Plugin::SPF
10
12 This plugin checks a message against Sender Policy Framework (SPF)
13 records published by the domain owners in DNS to fight email address
14 forgery and make it easier to identify spams.
15
17 whitelist_from_spf add@ress.com
18 Works similarly to whitelist_from, except that in addition to
19 matching a sender address, a check against the domain's SPF record
20 must pass. The first parameter is an address to whitelist, and the
21 second is a string to match the relay's rDNS.
22
23 Just like whitelist_from, multiple addresses per line, separated by
24 spaces, are OK. Multiple "whitelist_from_spf" lines are also OK.
25
26 The headers checked for whitelist_from_spf addresses are the same
27 headers used for SPF checks (Envelope-From, Return-Path,
28 X-Envelope-From, etc).
29
30 Since this whitelist requires an SPF check to be made, network
31 tests must be enabled. It is also required that your trust path be
32 correctly configured. See the section on "trusted_networks" for
33 more info on trust paths.
34
35 e.g.
36
37 whitelist_from_spf joe@example.com fred@example.com
38 whitelist_from_spf *@example.com
39
40 def_whitelist_from_spf add@ress.com
41 Same as "whitelist_from_spf", but used for the default whitelist
42 entries in the SpamAssassin distribution. The whitelist score is
43 lower, because these are often targets for spammer spoofing.
44
46 spf_timeout n (default: 5)
47 How many seconds to wait for an SPF query to complete, before
48 scanning continues without the SPF result.
49
50 do_not_use_mail_spf (0|1) (default: 0)
51 By default the plugin will try to use the Mail::SPF module for SPF
52 checks if it can be loaded. If Mail::SPF cannot be used the plugin
53 will fall back to using the legacy Mail::SPF::Query module if it
54 can be loaded.
55
56 Use this option to stop the plugin from using Mail::SPF and cause
57 it to try to use Mail::SPF::Query instead.
58
59 do_not_use_mail_spf_query (0|1) (default: 0)
60 As above, but instead stop the plugin from trying to use
61 Mail::SPF::Query and cause it to only try to use Mail::SPF.
62
63 ignore_received_spf_header (0|1) (default: 0)
64 By default, to avoid unnecessary DNS lookups, the plugin will try
65 to use the SPF results found in any "Received-SPF" headers it finds
66 in the message that could only have been added by an internal
67 relay.
68
69 Set this option to 1 to ignore any "Received-SPF" headers present
70 and to have the plugin perform the SPF check itself.
71
72 Note that unless the plugin finds an "identity=helo", or some
73 unsupported identity, it will assume that the result is a mfrom SPF
74 check result. The only identities supported are "mfrom",
75 "mailfrom" and "helo".
76
77 use_newest_received_spf_header (0|1) (default: 0)
78 By default, when using "Received-SPF" headers, the plugin will
79 attempt to use the oldest (bottom most) "Received-SPF" headers,
80 that were added by internal relays, that it can parse results from
81 since they are the most likely to be accurate. This is done so
82 that if you have an incoming mail setup where one of your primary
83 MXes doesn't know about a secondary MX (or your MXes don't know
84 about some sort of forwarding relay that SA considers
85 trusted+internal) but SA is aware of the actual domain boundary
86 (internal_networks setting) SA will use the results that are most
87 accurate.
88
89 Use this option to start with the newest (top most) "Received-SPF"
90 headers, working downwards until results are successfully parsed.
91
92
93
94perl v5.10.1 2010-03-16Mail::SpamAssassin::Plugin::SPF(3)