27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Body Size Rule<br />

Remote IP Rule<br />

6-24<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 for Email Advanced Configuration Guide<br />

Chapter 6 Using Message Filters to Enforce Email Policies<br />

Body size refers to the size of the message, including both headers and attachments. The body-size rule<br />

selects those messages where the body size compares as directed to a given number. For example, the<br />

following filter bounces any message where the body size is greater than 5 megabytes.<br />

BigFilter:<br />

if (body-size > 5M)<br />

{<br />

}<br />

bounce();<br />

The body-size can be compared in the following ways:<br />

Example Comparison Type<br />

body-size < 10M Less than<br />

body-size 10M Greater than<br />

body-size >= 10M Greater than or equal<br />

body-size == 10M Equal<br />

body-size != 10M Not equal<br />

As a convenience, the size measurement may be specified with a suffix:<br />

Quantity Description<br />

10b ten bytes (same as 10)<br />

13k thirteen kilobytes<br />

5M five megabytes<br />

40G 40 gigabytes (Note: The Cisco <strong>IronPort</strong> appliance cannot accept messages larger than<br />

100 megabytes.)<br />

The remote-ip rule tests to see if the IP address of the host that sent that message matches a certain<br />

pattern. The IP address can be either Internet Protocol version 4 (IPv4) or Internet Protocol version 6<br />

(IPv6). The IP address pattern is specified using the allowed hosts notation described in “Sender Group<br />

Syntax” in the Cisco <strong>IronPort</strong> AsyncOS for Email Configuration Guide, except for the SBO, SBRS,<br />

dnslist notations and the special keyword ALL.<br />

OL-25137-01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!