<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									SMTP Smuggling attack on Postfix - Carbonio General				            </title>
            <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 16 Sep 2026 15:20:36 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6800</link>
                        <pubDate>Tue, 02 Jan 2024 13:21:40 +0000</pubDate>
                        <description><![CDATA[One more piece of information... I used the commands below to force a mynetworks change:
zmprov ms hostname zimbraMtaMyNetworks &#039;127.0.0.0/8 192.168.10.0/24 192.168.20.0/24&#039;

zmmtactl res...]]></description>
                        <content:encoded><![CDATA[<p>One more piece of information... I used the commands below to force a mynetworks change:</p>
<pre contenteditable="false">zmprov ms hostname zimbraMtaMyNetworks '127.0.0.0/8 192.168.10.0/24 192.168.20.0/24'

zmmtactl restart</pre>
<p>And it worked... mynetworks in main.cf changed as expected.... but "smtpd_discard_ehlo_keywords=chunking" is still there 🤣 </p>
<p> </p>
<p>Telegram: https://t.me/CarbonioMail</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>anahuac</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6800</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6799</link>
                        <pubDate>Tue, 02 Jan 2024 12:36:26 +0000</pubDate>
                        <description><![CDATA[Yep, no matter what, nothing removes &quot;smtpd_discard_ehlo_keywords=chunking&quot; from main.cf... let tel you what I did:
1 - I checked and yes, zmconfigd is up and running all times;
2 - Change...]]></description>
                        <content:encoded><![CDATA[<p>Yep, no matter what, nothing removes "<span>smtpd_discard_ehlo_keywords=chunking" from main.cf... let tel you what I did:<br /></span></p>
<p>1 - I checked and yes, zmconfigd is up and running all times;</p>
<p>2 - Changed mynetworks from the Admin UI didn't work at all (MTA -&gt; Outbound flow -&gt; My network) not even doing a manual "zmcontrol restart". Funny is that the field in Admin UI have the new IP I put there, but no matter what, main.cf doesn't.</p>
<p>3 - I ran "/opt/zextras/libexec/configrewrite mta" as zextras user and as root, just to be sure... nothing changed;</p>
<p>4 - I finally rebooted the server... and it's the same.</p>
<p>I'm using Carbonio CE 23.12.0 on Ubuntu 20.04 btw</p>
<p>Interesting right?</p>
<p> </p>
<p>Telegram: https://t.me/CarbonioMail</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>anahuac</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6799</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6798</link>
                        <pubDate>Mon, 01 Jan 2024 15:36:04 +0000</pubDate>
                        <description><![CDATA[Thank you for your feedback!
What happens if you do &quot;/opt/zextras/libexec/configrewrite mta&quot; as user &#039;zextras&#039;? May be main.cf is not writable by zextras, or zmconfigd is not running.
From...]]></description>
                        <content:encoded><![CDATA[<p>Thank you for your feedback!</p>
<p>What happens if you do "/opt/zextras/libexec/configrewrite mta" as user 'zextras'? May be main.cf is not writable by zextras, or zmconfigd is not running.</p>
<p>From your description it seems that your "main.cf" is never re-written, but it should. For instance, if you modify "My Networks"  in the admin console (MTA -&gt; Outbound flow -&gt; My network), it should trigger a "main.cf" update ...</p>
<p>I will open a Carbonio ticket to have more info about this issue.</p>
<p>And yes, happy New Year! :-)</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>cvidal</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6798</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6797</link>
                        <pubDate>Mon, 01 Jan 2024 14:50:10 +0000</pubDate>
                        <description><![CDATA[@cvidal it must be a Linux Distribution difference in the way they deal with it... I&#039;m using Ubuntu 20.04 and yes it&#039;s all running and rotating as expected.]]></description>
                        <content:encoded><![CDATA[<p>@cvidal it must be a Linux Distribution difference in the way they deal with it... I'm using Ubuntu 20.04 and yes it's all running and rotating as expected.</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>anahuac</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6797</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6796</link>
                        <pubDate>Mon, 01 Jan 2024 14:08:21 +0000</pubDate>
                        <description><![CDATA[The way I described is how it was running with Zimbra and it works the same way with Carbonio, at least with my installation.
In my Carbonio &quot;main.cf&quot; is regenerated every night via logrota...]]></description>
                        <content:encoded><![CDATA[<p>The way I described is how it was running with Zimbra and it works the same way with Carbonio, at least with my installation.</p>
<p>In my Carbonio "main.cf" is regenerated every night via logrotate, because zmconfigd is restarted. Can you check if you have /etc/logrotate.d/carbonio and if zmconfigd is running? And of course if logrotate is triggered by cron.</p>
<p>I installed it on RHEL, may be on Ubuntu there is no logrotate and everything goes via journalctl. Or may be Carbonio is planning to drop zmconfigd.</p>
<p>In any case it is interesting to see why we have this difference.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>cvidal</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6796</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6794</link>
                        <pubDate>Mon, 01 Jan 2024 13:34:03 +0000</pubDate>
                        <description><![CDATA[Well... I went to take a look at mine main.cf and figured &quot;smtpd_discard_ehlo_keywords=chunking&quot; is still there for many days now... and I was wondering why mine was there?
Then I ran &quot;/opt...]]></description>
                        <content:encoded><![CDATA[<p>Well... I went to take a look at mine main.cf and figured "<span>smtpd_discard_ehlo_keywords=chunking" is still there for many days now... and I was wondering why mine was there?<br /></span></p>
<p>Then I ran "/opt/zextras/libexec/configrewrite mta" and "<span>zmconfigdctl restart" and it still there... and I didn't changed /opt/zextras/conf/zmconfig.cf at all.<br /></span></p>
<p>So I remembered that I didn't change only main.cf, but also <span>main.cf.default and main.cf.proto as sugegsted by Barry's article in Zimbra's blog.<br /></span></p>
<p>I'll suggest you all to get it done this way:</p>
<pre contenteditable="false">echo smtpd_discard_ehlo_keywords=chunking &gt;&gt; /opt/zextras/common/conf/main.cf
echo smtpd_discard_ehlo_keywords=chunking &gt;&gt; /opt/zextras/common/conf/main.cf.default
echo smtpd_discard_ehlo_keywords=chunking &gt;&gt; /opt/zextras/common/conf/main.cf.proto

su - zextras -c"zmmtactl restart</pre>
<p>OFC fixing /opt/zextras/conf/zmconfig.cf wil work, but it probably wont survive next upgrade, because that file is usually overwritten.</p>
<p>In time: Happy New Year!</p>
<p>Telegram: https://t.me/CarbonioMail</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>anahuac</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6794</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6793</link>
                        <pubDate>Mon, 01 Jan 2024 11:22:38 +0000</pubDate>
                        <description><![CDATA[That article is NOT correct. The &quot;main.cf&quot; is generated anew every day after rotating logs as a consequence of a zmconfigd restart. You can simulate this behavior by running &quot;/opt/zextras/li...]]></description>
                        <content:encoded><![CDATA[<p>That article is NOT correct. The "main.cf" is generated anew every day after rotating logs as a consequence of a zmconfigd restart. You can simulate this behavior by running "/opt/zextras/libexec/configrewrite mta" as user 'zextras'. The same command is called by "zmmtactl". So if you check your 'main.cf' after issuing 'zmmtactl restart' your modification is gone.</p>
<p>To make it permanent, you have to edit the file /opt/zextras/conf/zmconfig.cf, search for "SECTION mta DEPENDS amavis", and anywhere in that section but before "RESTART mta" add:</p>
<pre contenteditable="false">      POSTCONF smtpd_discard_ehlo_keywords chunking</pre>
<p>Then do the 'zmmtactl restart' and the new line will appear in 'main.cf' and will survive the logrotate too :-)</p>
<p>Regarding main.cf.proto and main.cf.default, AFAIK they are not used, but are part of the Postfix build.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>cvidal</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6793</guid>
                    </item>
				                    <item>
                        <title>RE: SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6743</link>
                        <pubDate>Thu, 28 Dec 2023 22:39:24 +0000</pubDate>
                        <description><![CDATA[And now it&#039;s also in Carbonio&#039;s official docs:
Well done guys!]]></description>
                        <content:encoded><![CDATA[<p>And now it's also in Carbonio's official docs:</p>
<p>https://docs.zextras.com/carbonio/html/release/issues.html</p>
<p>Well done guys!</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>anahuac</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6743</guid>
                    </item>
				                    <item>
                        <title>SMTP Smuggling attack on Postfix</title>
                        <link>https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6729</link>
                        <pubDate>Thu, 28 Dec 2023 12:11:49 +0000</pubDate>
                        <description><![CDATA[This is a new attack and AFAIK Carbonio is vulnerable to it.
To know more about SMTP Smuggling take a look at this article SMTP Smuggling - Spoofing E-Mails Worldwide
To fix it immediately...]]></description>
                        <content:encoded><![CDATA[<p>This is a new attack and AFAIK Carbonio is vulnerable to it.</p>
<p>To know more about SMTP Smuggling take a look at this article <a href="https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/" target="_blank" rel="noopener">SMTP Smuggling - Spoofing E-Mails Worldwide</a></p>
<p>To fix it immediately follow the steps suggested by Zimbra on this Barry's article Zimbra and <a href="https://blog.zimbra.com/2023/12/zimbra-and-smtp-smuggling-attack-on-postfix/" target="_blank" rel="noopener">SMTP Smuggling attack on Postfix</a></p>
<p>For the lazy ones:</p>
<pre contenteditable="false">echo smtpd_discard_ehlo_keywords=chunking &gt;&gt; /opt/zextras/common/conf/main.cf
echo smtpd_discard_ehlo_keywords=chunking &gt;&gt; /opt/zextras/common/conf/main.cf.default
echo smtpd_discard_ehlo_keywords=chunking &gt;&gt; /opt/zextras/common/conf/main.cf.proto

su - zextras -c"zmmtactl restart"</pre>
<p>Regards</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/carbonio-general-thread/">Carbonio General</category>                        <dc:creator>anahuac</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/carbonio-general-thread/smtp-smuggling-attack-on-postfix/#post-6729</guid>
                    </item>
							        </channel>
        </rss>
		