regex BEGANPLAN "beganplan\.com"
regex BOOKKHAKI "bookkhaki\.com"
regex ENTEGRACORP "entegracorp\.com"
!
class-map type regex MAIL_BLACK_LIST
match regex BEGANPLAN
match regex BOOKKHAKI
match regex ENTEGRACORP
!
policy-map type inspect esmtp MAIL_POLICY
match sender-address regex class MAIL_BLACK_LIST
drop-connection log
!
policy-map OUTSIDE_POLICY
class inspection_default
inspect esmtp MAIL_POLICY
!
service-policy OUTSIDE_POLICY interface outside
regex BOOKKHAKI "bookkhaki\.com"
regex ENTEGRACORP "entegracorp\.com"
!
class-map type regex MAIL_BLACK_LIST
match regex BEGANPLAN
match regex BOOKKHAKI
match regex ENTEGRACORP
!
policy-map type inspect esmtp MAIL_POLICY
match sender-address regex class MAIL_BLACK_LIST
drop-connection log
!
policy-map OUTSIDE_POLICY
class inspection_default
inspect esmtp MAIL_POLICY
!
service-policy OUTSIDE_POLICY interface outside
Including additional domains just requires that you create a new regex and add it to the class-map.
I got those domain names from http://www.spacequad.com/staticpages/index.php/KnownSpammerDomains
asa(config)# end
asa# wr mem
asa# wr mem
we will demonstrate how to install, how do you stop spam configure and test Anti-Spam functionality on Exchange 2010 Hub Transport Server.
ReplyDelete