GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MAIL::SPAMASSASSIN::PLUGIN::MIMEHEADER (3)

.ds Aq ’

NAME

MIMEHeader - perform regexp tests against MIME headers

CONTENTS

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.

RULE DEFINITIONS AND PRIVILEGED SETTINGS

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 /pattern/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 multiple 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; for example, whitespace around the newline character in folded headers will be replaced with a single space. Append :raw to the header name to retrieve the raw, undecoded value, including pristine whitespace, instead.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MAIL::SPAMASSASSIN::PLUGIN::MIMEHEADER (3) 2015-04-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.