Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
Mail::SpamAssassin::PlUser:ContributeMail::SpamAssassin::Plugin::MIMEHeader(3)
NAME
MIMEHeader - perform regexp tests against MIME headers
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
mimeheader NAME_OF_RULE Content-Id =~ /foo/
DESCRIPTION
This plugin allows regexp rules to be written against MIME headers in
the message.
CONFIGURATION
mimeheader NAME_OF_RULE Header-Name =~ /pattern/modifiers
Specify a rule. "NAME_OF_RULE" is the name of the rule to be used,
"Header-Name" is the name of the MIME header to check, and "/pat-
tern/modifiers" is the Perl regular expression to match against
this.
Note that in a message of multiple parts, each header will be
checked against the pattern separately. In other words, if multi-
ple parts have a 'Content-Type' header, each header's value will be
tested individually as a separate string.
Header names are considered case-insensitive.
The header values are normally cleaned up a little. Append ":raw"
to the header name to retrieve the raw, undecoded value instead.
perl v5.8.8 200Mail::SpamAssassin::Plugin::MIMEHeader(3)