<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ESMTP Inspection in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486122#M740042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried running packet-trace to simulate the traffic?&amp;nbsp; It might be able to tip you off as to where the trouble lies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jun 2010 15:13:51 GMT</pubDate>
    <dc:creator>terrygwazdosky</dc:creator>
    <dc:date>2010-06-11T15:13:51Z</dc:date>
    <item>
      <title>ESMTP Inspection</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486119#M740003</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello Experts,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We need to exclude a couple of servers from the inspection. It seems that the inspection doen'st allow the remote email servesr to send emails to my server. The Admin of the remote peer states that it's because of the esmtp inspection. I configured the exclution from the inspection for those server however when I do it, My email server stops working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the configuration i added.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config)# access-list ESMTP deny ip host 204.56.XX.XX&amp;nbsp; host 196.40.XX.XX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; hostname(config)# access-list ESMTP deny ip host 204.56.XX.XX 196.40.XX.XX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config)# access-list ESMTP deny ip 196.40.XX.XX host 204.56.XX.XX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config)# access-list ESMTP deny ip 196.40.XX.XX host 204.56.XX.XX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config)# access-list ESMTP permit tcp any any eq 25&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config)# class-map ESMTP-POLICY &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config-cmap)# match access-list ESMTP &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config)# policy-map global_policy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config-pmap)# class inspection_default &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config-pmap)# no inspect esmtp &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config-pmap)# class ESMTP-POLICY &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hostname(config-pmap-c)# inspect esmtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Service Policy is applied globally.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With this configuration I'm only excluding 2&amp;nbsp; servers of the inspection, However when I applied my server stops working. It doesn't sent of receive email AT ALL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would really appreciate your he&lt;/STRONG&gt;lp.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 17:58:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486119#M740003</guid>
      <dc:creator>Diego Armando Cambronero Arias</dc:creator>
      <dc:date>2019-03-11T17:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP Inspection</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486120#M740014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the following as well &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;access-list ESMTP permit tcp any eq 25 any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually with default inspection that you have removed for esmtp, you could instead add the final line of permit ip any any, to catch all besides the 2 server you don't want inspected. The final line could instead be "access-list ESMTP permit ip any any"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you look at the service policy statistics, it will show if traffic is being matched by what you configured. In this case, for the server to work, you are expecting to be matching the permit statements for your server to be functional, and have hit counts on it. As well as having hit counts for the denies for it's communication with the other mail servers that does not like esmtp inspection. If no hitcounts seen, when mail is being sent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 13:54:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486120#M740014</guid>
      <dc:creator>edadios</dc:creator>
      <dc:date>2010-06-11T13:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP Inspection</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486121#M740027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for taking a look.&lt;/P&gt;&lt;P&gt;I forgot to mention that I did try that yesterday. But I got the same result.I do not understand why it's not working it a very simple configuration. When I saw the service-policy statistics there where drops in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Idea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 14:05:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486121#M740027</guid>
      <dc:creator>Diego Armando Cambronero Arias</dc:creator>
      <dc:date>2010-06-11T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP Inspection</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486122#M740042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried running packet-trace to simulate the traffic?&amp;nbsp; It might be able to tip you off as to where the trouble lies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 15:13:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486122#M740042</guid>
      <dc:creator>terrygwazdosky</dc:creator>
      <dc:date>2010-06-11T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP Inspection</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486123#M740058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the server ip addresses &lt;STRONG&gt;196.40.XX.XX, &lt;/STRONG&gt;&lt;STRONG&gt;204.56.XX.XX&lt;/STRONG&gt; that you are NOT matching in the class-map ACL translated by the firewall?&lt;/P&gt;&lt;P&gt;If yes then you need to use their local ip address for the ACL to match the denies and thus not hit the ESMTP inspection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 22:19:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486123#M740058</guid>
      <dc:creator>Panos Kampanakis</dc:creator>
      <dc:date>2010-06-11T22:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP Inspection</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486124#M740081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is definitely strange that with the permit on the bottom of the acl, you say your server still does not work, since the effect should only have been to do with the host you specified to be denied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list test1 permit ip any any&lt;/P&gt;&lt;P&gt;class-map esmtp-test&lt;/P&gt;&lt;P&gt;match access-list test1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map global_policy&lt;BR /&gt;class inspection_default&lt;BR /&gt;no inspect esmtp&lt;BR /&gt;class esmtp-test &lt;BR /&gt;inspect esmtp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this works for your normal mail server function , then you can start adding to the access-list inserting lines on top of the list&amp;nbsp; for the hosts you want to be denied. And every time you add one acl line, check for the result of mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also issue the command "show service-policy flow tcp&amp;nbsp; mailhost1 mailhost2 eq smtp" when modifying the access-list to see if it&amp;nbsp; is changing inspection result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it does not work, with only permit ip any any, then compare the output of "show service-policy flow tcp mailhost1 mailhost2 eq smtp" when using the class inspection_default, to output of when using class esmtp-test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jun 2010 03:03:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-inspection/m-p/1486124#M740081</guid>
      <dc:creator>edadios</dc:creator>
      <dc:date>2010-06-12T03:03:00Z</dc:date>
    </item>
  </channel>
</rss>

