<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5637&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / HOWTO : Fix sendmail "stat=Deferred: 403 4.7.0 TLS handshake failed."]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5637</link>
		<description><![CDATA[The most recent posts in HOWTO : Fix sendmail "stat=Deferred: 403 4.7.0 TLS handshake failed.".]]></description>
		<lastBuildDate>Sat, 01 Apr 2023 17:13:14 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[HOWTO : Fix sendmail "stat=Deferred: 403 4.7.0 TLS handshake failed."]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41691#p41691</link>
			<description><![CDATA[<p>My Devuan Chimaera sendmail sm-mta installation was having issues performing an email hand-off to a small subset of email systems.&#160; The rejection message logged in /var/log/mail.log is <em>&quot;403 4.7.0 TLS handshake failed.&quot;</em> which pointed me in the direction of a TLS error.&#160; So I tested the cipher negotiation with the target email system using :</p><div class="codebox"><pre><code>openssl s_client -starttls smtp -connect TARGET.SYSTEM.HOSTNAME:25</code></pre></div><p>Among the negotiation details I found the commentary :</p><div class="quotebox"><blockquote><div><p>140148764513600:error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small:../ssl/statem/statem_clnt.c:2157:</p></div></blockquote></div><p>This indicates the Diffie-Hellman key on the target system is too short and therefore potentially susceptible to Logjam attacks.&#160; The default openssl security level on my Chimaera install is set to level 2 ... which will not negotiate with such systems.</p><p>For the administrators I know, I can encourage them to raise their bar and fix that weakness.&#160; But the rest of the Internet has no reason to listen to me, and my people still need to email their people.&#160; :-(</p><p>The only &quot;fix&quot; (if it can be called that) I know to provide is to lower the default security level in openssl on my system to enable it to communicate with theirs by dropping the SECLEVEL in /etc/ssl/openssl.cnf to &quot;1&quot; :</p><div class="codebox"><pre><code>diff /etc/ssl/openssl.cnf /etc/ssl/openssl.cnf.orig
362c362
&lt; CipherString = DEFAULT@SECLEVEL=1
---
&gt; CipherString = DEFAULT@SECLEVEL=2</code></pre></div><p>If you know of a better way to resolve this, please chime in.&#160; Otherwise, hope this helps someone else,<br />--K</p><p>[EDIT :%s/courier/sendmail/g ]</p>]]></description>
			<author><![CDATA[dummy@example.com (kaiyel)]]></author>
			<pubDate>Sat, 01 Apr 2023 17:13:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41691#p41691</guid>
		</item>
	</channel>
</rss>
