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.

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

Receiving Listener Rule<br />

Receiving IP Interface Rule<br />

Date Rule<br />

OL-25137-01<br />

The allowed hosts notation can only identify sequences and numeric ranges of IP addresses (not<br />

hostnames). For example, the following filter bounces any message not injected from IP addresses of<br />

form 10.1.1.x where X is 50, 51, 52, 53, 54, or 55.<br />

notMineFilter:<br />

if (remote-ip != '10.1.1.50-55')<br />

{<br />

}<br />

bounce();<br />

The recv-listener rule selects those messages received on the named listener. The listener name must<br />

be the nickname of one of the listeners currently configured on the system. For example, the following<br />

filter immediately delivers any message arriving from the listener named expedite.<br />

expediteFilter:<br />

if (recv-listener == 'expedite')<br />

{<br />

skip_filters();<br />

}<br />

The recv-int rule selects those messages received via the named interface. The interface name must be<br />

the nickname of one of the interfaces currently configured for the system. For example, the following<br />

filter bounces any message arriving from the interface named outside.<br />

outsideFilter:<br />

if (recv-int == 'outside')<br />

{<br />

}<br />

bounce();<br />

The date rule checks the current time and date against a time and date you specify. The date rule is<br />

compares against a string containing a timestamp of the format<br />

MM/DD/YYYY hh:mm:ss. This is useful to specify actions to be performed before or after certain times<br />

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

6-25

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

Saved successfully!

Ooh no, something went wrong!