<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented]]></title><description><![CDATA[<p dir="auto">Hi, I got a new domain, added it to cloudron, set up my E-Mail but failed to set up my E-Mail-Relay.<br />
I want to relay it to my Proxmox Mail Gateway like I do with my other, older and still functioning (Email-)Domains.</p>
<p dir="auto">I set it to External SMTP server (No Authentication), enter the PMG host IP and the internal relaying port of PMG 26. I tested it with checked and not checked accept self signed certificates.<br />
Then I get the error: Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented. That error I think comes from Proxmox.</p>
<p dir="auto">Did in the last year something change in Cloudron that now forces the TLS while setup? Can i setup the connection manually to ignore TLS like the other domains do?</p>
]]></description><link>https://forum.cloudron.io/topic/15856/error-upgrading-connection-with-starttls-502-5.5.1-error-command-not-implemented</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 11:09:09 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15856.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Aug 2026 00:35:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented on Fri, 28 Aug 2026 14:23:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smilebasti" aria-label="Profile: smilebasti">@<bdi>smilebasti</bdi></a> in Cloudron 9, we decided to only accept STARTTLS servers which is the needed for some basic security . I guess for local intranet relays we can add an option to disable this.</p>
<p dir="auto">In the meantime, you can edit /home/yellowtent/box/src/mail.js (depending on the version this can be mailserver.js or mailstatus.js). Look for <code>requireTLS: true</code> and just set this to false and <code>systemctl restart box</code> . That should let you add the relay. Haraka already support opportunistic STARTTLS .</p>
]]></description><link>https://forum.cloudron.io/post/128665</link><guid isPermaLink="true">https://forum.cloudron.io/post/128665</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 28 Aug 2026 14:23:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented on Fri, 28 Aug 2026 22:24:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Hi,</p>
<p dir="auto">thank you. That worked perfectly.<br />
Not sure how many people would need that function?</p>
]]></description><link>https://forum.cloudron.io/post/128685</link><guid isPermaLink="true">https://forum.cloudron.io/post/128685</guid><dc:creator><![CDATA[smilebasti]]></dc:creator><pubDate>Fri, 28 Aug 2026 22:24:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented on Fri, 28 Aug 2026 14:23:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smilebasti" aria-label="Profile: smilebasti">@<bdi>smilebasti</bdi></a> in Cloudron 9, we decided to only accept STARTTLS servers which is the needed for some basic security . I guess for local intranet relays we can add an option to disable this.</p>
<p dir="auto">In the meantime, you can edit /home/yellowtent/box/src/mail.js (depending on the version this can be mailserver.js or mailstatus.js). Look for <code>requireTLS: true</code> and just set this to false and <code>systemctl restart box</code> . That should let you add the relay. Haraka already support opportunistic STARTTLS .</p>
]]></description><link>https://forum.cloudron.io/post/128665</link><guid isPermaLink="true">https://forum.cloudron.io/post/128665</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 28 Aug 2026 14:23:03 GMT</pubDate></item><item><title><![CDATA[Reply to Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented on Wed, 26 Aug 2026 00:45:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a><br />
Hi, no and never was.<br />
Ai gave me following command to test it:</p>
<pre><code>openssl s_client -starttls smtp -connect 192.168.20.64:26 -crlf

CONNECTED(00000003)
Didn't find STARTTLS in server response, trying anyway...
40A70407AB700000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:354:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 239 bytes and written 326 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
</code></pre>
<p dir="auto">Is there anything else I can provide?</p>
<p dir="auto">My other 5 Domains that I have set up over a year ago are still working perfectly without any problem and never had. It just came up with the new domain I wanted to add.</p>
<p dir="auto">So why do the old domains don't have that and how can I add the new one like the same as the old?<br />
Is there a config file I can manually copy from the old domains and set it up manually to avoid the starttls check from the GUI?</p>
]]></description><link>https://forum.cloudron.io/post/128551</link><guid isPermaLink="true">https://forum.cloudron.io/post/128551</guid><dc:creator><![CDATA[smilebasti]]></dc:creator><pubDate>Wed, 26 Aug 2026 00:45:32 GMT</pubDate></item><item><title><![CDATA[Reply to Error upgrading connection with STARTTLS: 502 5.5.1 Error: command not implemented on Mon, 24 Aug 2026 09:48:59 GMT]]></title><description><![CDATA[<p dir="auto">The mail relay requires STARTTLS - <a href="https://docs.cloudron.io/email/#relay-outgoing-mails" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/email/#relay-outgoing-mails</a>  . Is that enabled in Proxmox?</p>
]]></description><link>https://forum.cloudron.io/post/128482</link><guid isPermaLink="true">https://forum.cloudron.io/post/128482</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 24 Aug 2026 09:48:59 GMT</pubDate></item></channel></rss>