Cisco Cisco Email Security Appliance C160 Guía Del Usuario

Descargar
Página de 1185
 
9-63
Cisco AsyncOS 8.5.6 for Email User Guide
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Actions
The Envelope Sender parameter may be any valid email address, or alternatively, may be the action 
variable 
$EnvelopeFrom
, which will set the return path of the message to the same as the original 
message.
This example expands the previous one by setting the subject to be 
[Bcc] <original subject>
, and the 
return path set to 
badbounce@home.org
:
The alt-mailhost is the fourth parameter:
Warning
The 
Bcc()
notify()
, and 
bounce()
 filter actions can allow viruses through your network. The blind 
carbon copy filter action creates a new message which is a full copy of the original message. The 
notify filter action creates a new message that contains the headers of the original message. While 
it is rare, headers can contain viruses. The bounce filter action creates a new message which 
contains the first 10k of the original message. In all three cases, the new message will not be 
processed by anti-virus or anti-spam scanning.
To send to multiple hosts, you can call the 
bcc()
 action multiple times:
momFilter:
   if ((mail-from == '^johnny$') and (rcpt-to == '^sue$'))   
   {
        bcc('mom@home.org', '[Bcc] $Subject', 'badbounce@home.org');
   }
momFilterAltM:
   if ((mail-from == '^johnny$') and (rcpt-to == '^sue$'))
   {
      bcc('mom@home.org', '[Bcc] $Subject', '$EnvelopeFrom', 
'momaltmailserver.example.com');
   }
multiplealthosts:
   if (recv-listener == "IncomingMail")
   {
    insert-header('X-ORIGINAL-IP', '$remote_ip');
    bcc ('$EnvelopeRecipients', '$Subject', '$EnvelopeFrom', '10.2.3.4');
    bcc ('$EnvelopeRecipients', '$Subject', '$EnvelopeFrom', '10.2.3.5');