29.08.2013 Views

UTM Antispam Filtering for Security Devices - Juniper Networks

UTM Antispam Filtering for Security Devices - Juniper Networks

UTM Antispam Filtering for Security Devices - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>UTM</strong> <strong>Antispam</strong> <strong>Filtering</strong> <strong>for</strong> <strong>Security</strong> <strong>Devices</strong><br />

26<br />

[edit security]<br />

user@host# set utm feature-profile anti-spam sbl profile localprofile1 spam-action<br />

block<br />

5. Configure a custom string <strong>for</strong> identifying a message as spam.<br />

[edit security]<br />

user@host# set utm feature-profile anti-spam sbl profile localprofile1<br />

custom-tag-string ***spam***<br />

6. Attach the spam feature profile to the <strong>UTM</strong> policy.<br />

[edit security]<br />

user@host# set utm utm-policy spampolicy2 anti-spam smtp-profile localprofile1<br />

7. Configure a security policy <strong>for</strong> <strong>UTM</strong>, and attach the <strong>UTM</strong> policy to the security policy.<br />

Results<br />

[edit]<br />

user@host# set security policies from-zone trust to-zone untrust policy<br />

utmsecuritypolicy2 match source-address any<br />

user@host# set security policies from-zone trust to-zone untrust policy<br />

utmsecuritypolicy2 match destination-address any<br />

user@host# set security policies from-zone trust to-zone untrust policy<br />

utmsecuritypolicy2 match application junos-smtp<br />

user@host# set security policies from-zone trust to-zone untrust policy<br />

utmsecuritypolicy2 then permit application-services utm-policy spampolicy2<br />

Results From configuration mode, confirm your configuration by entering the show security utm<br />

and show security policies commands. If the output does not display the intended<br />

configuration, repeat the configuration instructions in this example to correct it.<br />

[edit]<br />

user@host# show security utm<br />

custom-objects {<br />

anti-spam {<br />

url-pattern patternwhite;<br />

address-whitelist as-white;<br />

sbl {<br />

profile localprofile1 {<br />

spam-action block;<br />

custom-tag-string ***spam***;<br />

}<br />

}<br />

}<br />

utm-policy spampolicy2 {<br />

anti-spam {<br />

smtp-profile localprofile1;<br />

}<br />

}<br />

[edit]<br />

user@host# show security policies<br />

from-zone trust to-zone untrust {<br />

policy utmsecuritypolicy2 {<br />

match {<br />

source-address any;<br />

Copyright © 2013, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

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

Saved successfully!

Ooh no, something went wrong!