1Mail::SpamAssassin::PluUgsienr::CForneterMiabiult(e3d)PMearill:D:oScpuammeAnstsaatsisoinn::Plugin::FreeMail(3)
2
3
4
6 FreeMail - check message headers/body for freemail-domains
7
9 If for example From-address is freemail, and Reply-To or address found
10 in mail body is different freemail address, return success. Good sign
11 of Nigerian scams etc. Test idea from Marc Perkel.
12
13 Also separate functions to check various portions of message for
14 freemails.
15
17 freemail_domains domain ...
18
19 List of domains to be used in checks.
20
21 Regexp is not supported, but following wildcards work:
22
23 ? for single character (does not match a dot)
24 * for multiple characters (does not match a dot)
25
26 For example:
27 freemail_domains hotmail.com hotmail.co.?? yahoo.* yahoo.*.*
28
29 freemail_welcomelist email/domain ...
30
31 Previously freemail_whitelist which will work interchangeably until 4.1.
32
33 Emails or domains listed here are ignored (pretend they aren't
34 freemail). No wildcards!
35
36 freemail_import_welcomelist_auth 1/0
37
38 Entries in welcomelist_auth will also be used to welcomelist emails
39 or domains from being freemail. Default is 0.
40
41 freemail_import_def_welcomelist_auth 1/0
42
43 Entries in def_welcomelist_auth will also be used to welcomelist emails
44 or domains from being freemail. Default is 0.
45
46 header FREEMAIL_REPLYTO eval:check_freemail_replyto(['option'])
47
48 Checks/compares freemail addresses found from headers and body.
49
50 Possible options:
51
52 replyto From: or body address is different than Reply-To
53 (this is the default)
54 reply as above, but if no Reply-To header is found,
55 compares From: and body
56
57 header FREEMAIL_FROM eval:check_freemail_from(['regex'])
58
59 Checks all possible "from" headers to see if sender is freemail.
60 Uses SA all_from_addrs() function (includes 'Resent-From', 'From',
61 'EnvelopeFrom' etc).
62
63 Add optional regex to match the found email address(es). For example,
64 to see if user ends in digit: check_freemail_from('\d@')
65
66 If you use multiple check_freemail_from rules with regexes, remember
67 that they might hit different emails from different heades. To match
68 a certain header only, use check_freemail_header.
69
70 header FREEMAIL_HDRX eval:check_freemail_header('header' [, 'regex'])
71
72 Searches defined header for freemail address. Optional regex to match
73 the found address (like in check_freemail_from).
74
75 header FREEMAIL_BODY eval:check_freemail_body(['regex'])
76
77 Searches body for freemail address. With optional regex to match.
78
79
80
81perl v5.36.0 2023-0M1a-i2l1::SpamAssassin::Plugin::FreeMail(3)