1Mail::SpamAssassin::PluUgsienr::CForneterMiabiult(e3d)PMearill:D:oScpuammeAnstsaatsisoinn::Plugin::FreeMail(3)
2
3
4

NAME

6       FreeMail - check message headers/body for freemail-domains
7

SYNOPSIS

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

CONFIGURATION

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_whitelist email/domain ...
30
31          Emails or domains listed here are ignored (pretend they aren't
32          freemail). No wildcards!
33
34       freemail_import_whitelist_auth 1/0
35
36          Entries in whitelist_auth will also be used to whitelist emails
37          or domains from being freemail.  Default is 0.
38
39       freemail_import_def_whitelist_auth 1/0
40
41          Entries in def_whitelist_auth will also be used to whitelist emails
42          or domains from being freemail.  Default is 0.
43
44       header FREEMAIL_REPLYTO eval:check_freemail_replyto(['option'])
45
46          Checks/compares freemail addresses found from headers and body.
47
48          Possible options:
49
50          replyto      From: or body address is different than Reply-To
51                       (this is the default)
52          reply        as above, but if no Reply-To header is found,
53                       compares From: and body
54
55       header FREEMAIL_FROM eval:check_freemail_from(['regex'])
56
57          Checks all possible "from" headers to see if sender is freemail.
58          Uses SA all_from_addrs() function (includes 'Resent-From', 'From',
59          'EnvelopeFrom' etc).
60
61          Add optional regex to match the found email address(es). For example,
62          to see if user ends in digit: check_freemail_from('\d@')
63
64          If you use multiple check_freemail_from rules with regexes, remember
65          that they might hit different emails from different heades. To match
66          a certain header only, use check_freemail_header.
67
68       header FREEMAIL_HDRX eval:check_freemail_header('header' [, 'regex'])
69
70          Searches defined header for freemail address. Optional regex to match
71          the found address (like in check_freemail_from).
72
73       header FREEMAIL_BODY eval:check_freemail_body(['regex'])
74
75          Searches body for freemail address. With optional regex to match.
76

CHANGELOG

78        1.996 - fix freemail_skip_bulk_envfrom
79        1.997 - set freemail_skip_when_over_max to 1 by default
80        1.998 - don't warn about missing freemail_domains when linting
81        1.999 - default whitelist undisclosed-recipient@yahoo.com etc
82        2.000 - some cleaning up
83        2.001 - fix freemail_whitelist
84        2.002 - _add_desc -> _got_hit, fix description email append bug
85        2.003 - freemail_import_(def_)whitelist_auth
86
87
88
89perl v5.34.0                      2021-0M7a-i2l3::SpamAssassin::Plugin::FreeMail(3)
Impressum