Cisco Cisco Email Security Appliance C650 Guía Del Usuario
5-365
Cisco IronPort AsyncOS 7.1 for Email Advanced Configuration Guide
OL-22164-02
Chapter 5 Using Message Filters to Enforce Email Policies
When working with headers, remember that the current value of the header
includes changes made during processing (such as with filter actions that add,
remove, or modify message headings). See
includes changes made during processing (such as with filter actions that add,
remove, or modify message headings). See
for more information.
Insert Header Action
The
insert-header
action inserts a new header into a message. AsyncOS does
not verify the compliance to standards of the header you insert; you are
responsible for ensuring that the resulting message complies with Internet
standards for email.
responsible for ensuring that the resulting message complies with Internet
standards for email.
The following example inserts a header named
X-Company
with the value set to
My
Company Name
if the header is not already found in the message:
addXCompanyFilter:
if (not header('X-Company'))
{
insert-header('X-Company', 'My Company Name');
}
The insert-header() action allows the use of non-ASCII characters in the text of
the header, while restricting the header name to be ASCII (to comply with
standards). The transport encoding will be quoted-printable to maximize the
readability.
the header, while restricting the header name to be ASCII (to comply with
standards). The transport encoding will be quoted-printable to maximize the
readability.
strip-header('X-DeleteMe');
}