1Mail::SpamAssassin::PluUgsienr::CMoInMtErEivbault(e3d)PMearill:D:oScpuammeAnstsaatsisoinn::Plugin::MIMEEval(3)
2
3
4

NAME

6       MIMEEval - perform various tests against MIME structure and body
7

SYNOPSIS

9         loadplugin    Mail::SpamAssassin::Plugin::MIMEEval
10
11         body NAME_OF_RULE  eval:check_for_mime
12         body NAME_OF_RULE  eval:check_for_mime_html
13         body NAME_OF_RULE  eval:check_for_mime_html_only
14         body NAME_OF_RULE  eval:check_mime_multipart_ratio
15         body NAME_OF_RULE  eval:check_msg_parse_flags
16         body NAME_OF_RULE  eval:check_for_ascii_text_illegal
17         body NAME_OF_RULE  eval:check_abundant_unicode_ratio
18         body NAME_OF_RULE  eval:check_for_faraway_charset
19         body NAME_OF_RULE  eval:check_for_uppercase
20         body NAME_OF_RULE  eval:check_ma_non_text
21         body NAME_OF_RULE  eval:check_base64_length
22         body NAME_OF_RULE  eval:check_qp_ratio
23

DESCRIPTION

25       Perform various tests against MIME structure and body.
26
27       has_check_for_ascii_text_illegal
28           Adds capability check for "if can()" for
29           check_for_ascii_text_illegal
30
31       check_for_ascii_text_illegal
32           If a MIME part claims to be text/plain or
33           text/plain;charset=us-ascii and the Content-Transfer-Encoding is
34           7bit (either explicitly or by default), then we should enforce the
35           actual text being only TAB, NL, SPACE through TILDE, i.e. all 7bit
36           characters excluding NO-WS-CTL (per RFC-2822).
37
38           All mainstream MTA's get this right.
39
40       has_check_abundant_unicode_ratio
41           Adds capability check for "if can()" for
42           check_abundant_unicode_ratio
43
44       check_abundant_unicode_ratio
45           A MIME part claiming to be text/plain and containing Unicode
46           characters must be encoded as quoted-printable or base64, or use
47           UTF data coding (typically with 8bit encoding).  Any message in
48           7bit or 8bit encoding containing (HTML) Unicode entities will not
49           render them as Unicode, but literally.
50
51           Thus a few such sequences might occur on a mailing list of
52           developers discussing such characters, but a message with a high
53           density of such characters is likely spam.
54
55       has_check_qp_ratio
56           Adds capability check for "if can()" for check_qp_ratio
57
58       check_qp_ratio
59           Takes a min ratio to use in eval to see if there is an spamminess
60           to the ratio of quoted printable to total bytes in an email.
61
62
63
64perl v5.38.0                      2023-0M7a-i2l2::SpamAssassin::Plugin::MIMEEval(3)
Impressum