1Mail::SpamAssassin::PluUgsienr::CMoInMtErHiebaudteerdM(a3Pi)elr:l:SDpoacmuAmsesnatsastiino:n:Plugin::MIMEHeader(3)
2
3
4

NAME

6       MIMEHeader - perform regexp tests against MIME headers
7

SYNOPSIS

9         loadplugin    Mail::SpamAssassin::Plugin::MIMEHeader
10         mimeheader    NAME_OF_RULE    Content-Id =~ /foo/
11

DESCRIPTION

13       This plugin allows regexp rules to be written against MIME headers in
14       the message.
15

RULE DEFINITIONS AND PRIVILEGED SETTINGS

17       mimeheader NAME_OF_RULE Header-Name =~ /pattern/modifiers
18           Specify a rule.  "NAME_OF_RULE" is the name of the rule to be used,
19           "Header-Name" is the name of the MIME header to check, and
20           "/pattern/modifiers" is the Perl regular expression to match
21           against this.
22
23           Note that in a message of multiple parts, each header will be
24           checked against the pattern separately.  In other words, if
25           multiple parts have a 'Content-Type' header, each header's value
26           will be tested individually as a separate string.
27
28           Header names are considered case-insensitive.
29
30           The header values are normally cleaned up a little; for example,
31           whitespace around the newline character in "folded" headers will be
32           replaced with a single space.  Append ":raw" to the header name to
33           retrieve the raw, undecoded value, including pristine whitespace,
34           instead.
35
36
37
38perl v5.32.1                      2021M-a0i3l-:2:5SpamAssassin::Plugin::MIMEHeader(3)
Impressum