<?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 ESMTP size violation in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624569#M581114</link>
    <description>&lt;P&gt;I've recently started seeing messages like this on my firewall (separating my internal mail server from my DMZ antispam device). I'm not sure if this is tied in to any firewall IOS upgrades I've recently completed (recently went from 8.2.x to 8.3.1 to 8.4.1).&lt;/P&gt;&lt;P&gt;In between these messages, I see plenty of traffic on port 25 and mail is being received/delivered. I can't say for sure *all* mail is being received/delivered and there does seem to be a longer delay on messages in the mailserver queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%ASA-7-108006: Detected ESMTP size violation from inside:192.168.4.22/11142 to dmz:192.168.2.77/25; declared size is: 3997, actual size is 4256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%ASA-7-108006: Detected ESMTP size violation from dmz:192.168.2.77/60462 to inside:192.168.4.21/25; declared size is: 19681, actual size is 19708&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%ASA-7-108006: Detected ESMTP size violation from dmz:192.168.2.77/45901 to inside:192.168.4.21/25; declared size is: 9214, actual size is 9216&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if the ASA is just complaining, or actually dropping these packets - how can I find out more information on what the firewall is actually doing and what can I do to remedy this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 19:56:33 GMT</pubDate>
    <dc:creator>gregbeifuss</dc:creator>
    <dc:date>2019-03-11T19:56:33Z</dc:date>
    <item>
      <title>ESMTP size violation</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624569#M581114</link>
      <description>&lt;P&gt;I've recently started seeing messages like this on my firewall (separating my internal mail server from my DMZ antispam device). I'm not sure if this is tied in to any firewall IOS upgrades I've recently completed (recently went from 8.2.x to 8.3.1 to 8.4.1).&lt;/P&gt;&lt;P&gt;In between these messages, I see plenty of traffic on port 25 and mail is being received/delivered. I can't say for sure *all* mail is being received/delivered and there does seem to be a longer delay on messages in the mailserver queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%ASA-7-108006: Detected ESMTP size violation from inside:192.168.4.22/11142 to dmz:192.168.2.77/25; declared size is: 3997, actual size is 4256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%ASA-7-108006: Detected ESMTP size violation from dmz:192.168.2.77/60462 to inside:192.168.4.21/25; declared size is: 19681, actual size is 19708&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%ASA-7-108006: Detected ESMTP size violation from dmz:192.168.2.77/45901 to inside:192.168.4.21/25; declared size is: 9214, actual size is 9216&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if the ASA is just complaining, or actually dropping these packets - how can I find out more information on what the firewall is actually doing and what can I do to remedy this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 19:56:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624569#M581114</guid>
      <dc:creator>gregbeifuss</dc:creator>
      <dc:date>2019-03-11T19:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP size violation</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624570#M581115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove "inspect esmtp" from the policy-map&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 04:14:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624570#M581115</guid>
      <dc:creator>Roman Rodichev</dc:creator>
      <dc:date>2011-02-25T04:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP size violation</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624571#M581116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is generated when an ESMTP message size exceeds the size declared in the&amp;nbsp; RCPT command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the RCPT command in the configuration of the ESMTP policy map.&lt;/P&gt;&lt;P&gt;If using the default:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; sh run all policy-map _default_esmtp_map&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Federico.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 04:23:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624571#M581116</guid>
      <dc:creator>Federico Coto Fajardo</dc:creator>
      <dc:date>2011-02-25T04:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: ESMTP size violation</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624572#M581117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the Cisco documentation, RCPT deals with the number of recipient email addresses in the message, not the overall size. &lt;SPAN style="font-family: courier new,courier;"&gt;"RCPT count gt &lt;EM&gt;recipients_number &lt;/EM&gt;Specifies the number of recipient email addresses.&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;" per the Cisco ASA 5500 Series Command Reference, 8.4. "match cmd".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've ended up removing the inspect statement for ESMTP, as the Cisco documentation has no guidance on how I can get around this 'size violation'. I was hoping I could customize the inspect statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 15:52:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624572#M581117</guid>
      <dc:creator>gregbeifuss</dc:creator>
      <dc:date>2011-02-25T15:52:46Z</dc:date>
    </item>
    <item>
      <title>ESMTP size violation</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624573#M581118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You need to create a custom policy for esmtp and remove this check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; match ehlo-reply-parameter others&lt;/P&gt;&lt;P&gt;&amp;nbsp; mask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN id="mce_marker"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 19:11:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624573#M581118</guid>
      <dc:creator>gaudreas</dc:creator>
      <dc:date>2012-01-16T19:11:28Z</dc:date>
    </item>
    <item>
      <title>ESMTP size violation</title>
      <link>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624574#M581119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can remove this log message with option mask in custom policy for esmtp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; match ehlo-reply-parameter size &lt;/P&gt;&lt;P&gt;&amp;nbsp; mask&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full custom policy like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type inspect esmtp custom-smtp&lt;/P&gt;&lt;P&gt; parameters&lt;/P&gt;&lt;P&gt;&amp;nbsp; no mask-banner&lt;/P&gt;&lt;P&gt;&amp;nbsp; no mail-relay&lt;/P&gt;&lt;P&gt;&amp;nbsp; no special-character&lt;/P&gt;&lt;P&gt;&amp;nbsp; allow-tls&lt;/P&gt;&lt;P&gt; match cmd line length gt 512 &lt;/P&gt;&lt;P&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P&gt; match cmd RCPT count gt 100 &lt;/P&gt;&lt;P&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P&gt; match body line length gt 998 &lt;/P&gt;&lt;P&gt;&amp;nbsp; log&lt;/P&gt;&lt;P&gt; match header line length gt 998 &lt;/P&gt;&lt;P&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P&gt; match sender-address length gt 320 &lt;/P&gt;&lt;P&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P&gt; match MIME filename length gt 255 &lt;/P&gt;&lt;P&gt;&amp;nbsp; drop-connection log&lt;/P&gt;&lt;P&gt; match ehlo-reply-parameter size &lt;/P&gt;&lt;P&gt;&amp;nbsp; mask&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 09:13:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/esmtp-size-violation/m-p/1624574#M581119</guid>
      <dc:creator>Andrey Nikonenko</dc:creator>
      <dc:date>2012-01-27T09:13:49Z</dc:date>
    </item>
  </channel>
</rss>

