27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The bcc-scan() Action<br />

6-56<br />

To send to multiple hosts, you can call the bcc() action multiple times:<br />

multiplealthosts:<br />

Quarantine and Duplicate Actions<br />

if (recv-listener == "IncomingMail")<br />

{<br />

}<br />

insert-header('X-ORIGINAL-IP', '$remote_ip');<br />

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

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

bcc ('$EnvelopeRecipients', '$Subject', '$EnvelopeFrom', '10.2.3.4');<br />

bcc ('$EnvelopeRecipients', '$Subject', '$EnvelopeFrom', '10.2.3.5');<br />

bcc ('$EnvelopeRecipients', '$Subject', '$EnvelopeFrom', '10.2.3.6');<br />

The bcc-scan action functions similarly to the bcc action, except that the message that is sent is treated<br />

as a brand new message and is therefore sent through the entire email pipeline.<br />

momFilter:<br />

if ((mail-from == '^johnny$') and (rcpt-to == '^sue$'))<br />

{<br />

}<br />

bcc-scan('mom@home.org');<br />

The quarantine(‘quarantine_name’) action flags a message for inclusion into a queue called a<br />

quarantine. For more information about quarantines, see “Quarantines” in the Cisco <strong>IronPort</strong> AsyncOS<br />

for Email Daily Management Guide. The duplicate-quarantine(‘quarantine_name’)action<br />

immediately places a copy of the message into the specified quarantine and the original message<br />

continues through the email pipeline. The quarantine name is case sensitive.<br />

When flagged for quarantine, the message continues through the rest of the email pipeline. When the<br />

message reaches the end of the pipeline, if the message has been flagged for one or more quarantines<br />

then it enters those queues. Otherwise, it is delivered. Note that if the message does not reach the end of<br />

the pipeline, it is not placed in a quarantine.<br />

Accordingly, if a message filter contains a quarantine() action followed by a bounce() or drop()<br />

action, the message will not enter the quarantine, since the final action prevents the message from<br />

reaching the end of the pipeline. The same is true if a message filter includes a quarantine action, but the<br />

message is later dropped by anti-spam or anti-virus scanning, or a content filter. The skip_filters()<br />

final action causes the message to skip any remaining message filters, but content filters may still apply.<br />

For example, if a message filter flags a message for quarantine and also includes the skip_filters()<br />

final action, the message skips all remaining message filters and will be quarantined, unless another<br />

action in the email pipeline causes the message to be dropped.<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!