<?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[Cannot connect with TSL/SSL]]></title><description><![CDATA[<p dir="auto">Trying to use a Cloudron mailbox for this.</p>
<p dir="auto"><strong>Outgoing</strong>: I've tried using PHP mail() function as well as manually inserting the Mailgun SMTP details on all 3 ports with either SSL or TSL and nothing will send.</p>
<p dir="auto">With PHP mail() selected it tells me to check the logs. This is there in the cloudron app logs but nothing else looks out of place:</p>
<pre><code>sh: 1: /usr/sbin/sendmail: not found
</code></pre>
<p dir="auto">And with Mailgun selected I get one of the following depending on which port and if SSL or TSL is selected</p>
<pre><code>stream_socket_enable_crypto(): Peer certificate CN=`*.mailgun.org' did not match expected CN=`smtp.mailgun.com'
</code></pre>
<p dir="auto">OR</p>
<pre><code>Connection could not be established with host smtp.mailgun.com [ #0]
</code></pre>
<p dir="auto">Doesn't feel like a Mailgun issue as I'm not having issues sending mail elsewhere. When I select Mailgun with no encryption, the test email is successful.</p>
]]></description><link>https://forum.cloudron.io/topic/4338/cannot-connect-with-tsl-ssl</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 21:10:06 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4338.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Feb 2021 22:16:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 18:30:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> so it looks like I spoke too soon- the test email came in, but the email I sent from my Gmail account never appeared</p>
]]></description><link>https://forum.cloudron.io/post/31914</link><guid isPermaLink="true">https://forum.cloudron.io/post/31914</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 18:30:40 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 18:03:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> of course I tried Mailgun again and it seems to have worked - I must have had something off earlier. It seems to be taking the inbox a little longer than I thought to receive messages but they are coming in.</p>
]]></description><link>https://forum.cloudron.io/post/31908</link><guid isPermaLink="true">https://forum.cloudron.io/post/31908</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 18:03:26 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 18:02:03 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> He'd set mailgun as his default SMTP relay on the outbound mail for the domain, but apparently the app installed with default SMTP assumption?</p>
<p dir="auto">Will apps install with the SMTP relay set on domain's outbound mail, or it will they still assume the default settings, even if a relay is set before apps installation?</p>
]]></description><link>https://forum.cloudron.io/post/31907</link><guid isPermaLink="true">https://forum.cloudron.io/post/31907</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 18:02:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:55:33 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> I use a Unifi UDM-PRO at home and from what I can tell hairpin / NAT Loopback is enabled by default, and I don't recall ever disabling it</p>
]]></description><link>https://forum.cloudron.io/post/31903</link><guid isPermaLink="true">https://forum.cloudron.io/post/31903</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:55:33 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:53:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> Yeah, that's what I thought. Try to use default SMTP (no mailgun) on the domain and then use the same settings on the app.  OR the contrary on both as well. The same SMTP for the domain and the app.</p>
]]></description><link>https://forum.cloudron.io/post/31902</link><guid isPermaLink="true">https://forum.cloudron.io/post/31902</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 17:53:39 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:52:43 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> I have 587 port forwarded and no, I need to look into NAT loopback</p>
]]></description><link>https://forum.cloudron.io/post/31901</link><guid isPermaLink="true">https://forum.cloudron.io/post/31901</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:52:43 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:52:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/micmc" aria-label="Profile: micmc">@<bdi>micmc</bdi></a> yeah I have mailgun set as the outbound SMTP server, but I get similar errors when I try to use mailgun directly. I would screenshot the error but it's a stack trace that takes up the whole screen</p>
]]></description><link>https://forum.cloudron.io/post/31899</link><guid isPermaLink="true">https://forum.cloudron.io/post/31899</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:52:06 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:48:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> Your SMTP outbound is set as RELAY not as DIRECT this is something I was wondering because normally Cloudron should sety this automatically at installation time if your SMTP status is set. It seems to me that it might means you've set an outbound SMTP service on this domain and you now try to use the direct settings.</p>
]]></description><link>https://forum.cloudron.io/post/31898</link><guid isPermaLink="true">https://forum.cloudron.io/post/31898</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 17:48:37 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:48:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> said in <a href="/post/31883">Cannot connect with TSL/SSL</a>:</p>
<blockquote>
<p dir="auto">Could this be my firewall/ISP or did I misconfigure something?</p>
</blockquote>
<p dir="auto">Yes, most likely. Is port 587 open in your firewall ? Also, if this server is at home, do you have loopback NAT working on your router?</p>
]]></description><link>https://forum.cloudron.io/post/31897</link><guid isPermaLink="true">https://forum.cloudron.io/post/31897</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 25 May 2021 17:48:08 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:43:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/micmc" aria-label="Profile: micmc">@<bdi>micmc</bdi></a> yup, all good:</p>
<p dir="auto"><img src="/assets/uploads/files/1621964631344-2364a80b-2404-430f-9c45-3b837e95a8b9-image-resized.png" alt="2364a80b-2404-430f-9c45-3b837e95a8b9-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/31895</link><guid isPermaLink="true">https://forum.cloudron.io/post/31895</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:43:52 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:42:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> I meant the status like this for the specific domain<br />
<img src="https://imgur.com/MES5KfS.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/31894</link><guid isPermaLink="true">https://forum.cloudron.io/post/31894</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 17:42:37 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:40:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/micmc" aria-label="Profile: micmc">@<bdi>micmc</bdi></a> Yup, green light and works with other apps</p>
]]></description><link>https://forum.cloudron.io/post/31892</link><guid isPermaLink="true">https://forum.cloudron.io/post/31892</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:39:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> I'm guessing your 'mail' mx is the cloudron one and that ALL email settings are enabled and GREEN for the domain you use for your FreshScout?</p>
]]></description><link>https://forum.cloudron.io/post/31890</link><guid isPermaLink="true">https://forum.cloudron.io/post/31890</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 17:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:37:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/micmc" aria-label="Profile: micmc">@<bdi>micmc</bdi></a> same error <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=a3d9da63442" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forum.cloudron.io/post/31889</link><guid isPermaLink="true">https://forum.cloudron.io/post/31889</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:37:40 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:36:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> Try NO encryption?</p>
]]></description><link>https://forum.cloudron.io/post/31888</link><guid isPermaLink="true">https://forum.cloudron.io/post/31888</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 17:36:52 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:36:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/micmc" aria-label="Profile: micmc">@<bdi>micmc</bdi></a> Got the same port blocked error with that:</p>
<p dir="auto"><img src="/assets/uploads/files/1621964176842-617a032e-deae-4253-9605-0190f339352f-image.png" alt="617a032e-deae-4253-9605-0190f339352f-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/31887</link><guid isPermaLink="true">https://forum.cloudron.io/post/31887</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:36:18 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:34:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianhyzy" aria-label="Profile: ianhyzy">@<bdi>ianhyzy</bdi></a> Try PORT 2525 with TLS/SSL encryption <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=a3d9da63442" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
<p dir="auto">Andy</p>
]]></description><link>https://forum.cloudron.io/post/31886</link><guid isPermaLink="true">https://forum.cloudron.io/post/31886</guid><dc:creator><![CDATA[micmc]]></dc:creator><pubDate>Tue, 25 May 2021 17:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Tue, 25 May 2021 17:19:37 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> I've copied the info from the screenshot here (Freescout and cloudron are on the same machine; mailgun is configured as the outbound SMTP provider in Cloudron settings; there are two mail-enabled domains) but I'm getting an error about the port being closed:</p>
<p dir="auto"><img src="/assets/uploads/files/1621963124459-e5e07995-31b8-4b48-bf1a-9e2159442304-image.png" alt="e5e07995-31b8-4b48-bf1a-9e2159442304-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1621963152664-87ee3de7-b9e4-41e3-a916-a799d2414df2-image.png" alt="87ee3de7-b9e4-41e3-a916-a799d2414df2-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Could this be my firewall/ISP or did I misconfigure something?</p>
]]></description><link>https://forum.cloudron.io/post/31883</link><guid isPermaLink="true">https://forum.cloudron.io/post/31883</guid><dc:creator><![CDATA[ianhyzy]]></dc:creator><pubDate>Tue, 25 May 2021 17:19:37 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Sat, 06 Mar 2021 19:32:08 GMT]]></title><description><![CDATA[<p dir="auto">I have put a doc note here - <a href="https://docs.cloudron.io/apps/freescout/#cloudron-mailbox" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/freescout/#cloudron-mailbox</a></p>
]]></description><link>https://forum.cloudron.io/post/27204</link><guid isPermaLink="true">https://forum.cloudron.io/post/27204</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 06 Mar 2021 19:32:08 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Sat, 06 Mar 2021 19:27:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/testdesk" aria-label="Profile: testdesk">@<bdi>testdesk</bdi></a> Setting encryption to NONE is correct setting when FreeScout is installed on the <em>same</em> server as Cloudron mail. When FreeScout is installed in another server, then you have to use TLS.</p>
<p dir="auto">The reason is a bit esoteric. Internally, Cloudron uses containers and the mail container is called 'mail'. Many apps don't work properly if you try to connect with the hostname as 'mail' but the TLS certificate says '<a href="http://my.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.domain.com</a>' (because of hostname mismatch). So, for historic reasons, we do not enable TLS for connection within the server itself. In this case, FreeScout is in same server as mail server and thus TLS option is not available. This is totally safe because the full connection is within the server. If you move your freescout to another server, then remember to put it to TLS.</p>
]]></description><link>https://forum.cloudron.io/post/27203</link><guid isPermaLink="true">https://forum.cloudron.io/post/27203</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 06 Mar 2021 19:27:31 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Sat, 06 Mar 2021 15:00:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/testdesk" aria-label="Profile: testdesk">@<bdi>testdesk</bdi></a> hm so also not really more information from FreeScout on the error.<br />
Freescout does not have the Cloudron mail addon enabled, since a common use-case is to use external mailboxes as well. This is why it is correct to use the regular mailserver domain in this case <a href="http://my.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.example.com</a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> can correct me if I am wrong here, but I don't think the mail server even allows non secure transfer anyways, so if encyption set to "no" it is fine as well.</p>
<p dir="auto">Still I have to see if I can reproduce this with a new FreeScout instance against the Cloudron mail server later today.</p>
]]></description><link>https://forum.cloudron.io/post/27176</link><guid isPermaLink="true">https://forum.cloudron.io/post/27176</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sat, 06 Mar 2021 15:00:30 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Sat, 06 Mar 2021 10:26:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/imc67" aria-label="Profile: imc67">@<bdi>imc67</bdi></a></p>
<p dir="auto">Unfortunately, this does not work for the mailboxes, but only for the system settings, at least not for me.</p>
<p dir="auto">I just tried it, error. I know the settings, they also work with Wordpress and Nextcloud very fine.</p>
<p dir="auto">THX</p>
]]></description><link>https://forum.cloudron.io/post/27161</link><guid isPermaLink="true">https://forum.cloudron.io/post/27161</guid><dc:creator><![CDATA[TestDesk]]></dc:creator><pubDate>Sat, 06 Mar 2021 10:26:12 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Sat, 06 Mar 2021 10:18:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/testdesk" aria-label="Profile: testdesk">@<bdi>testdesk</bdi></a> on two FreeScout instances I use this:</p>
<p dir="auto">SMTP: mail<br />
Port: 2525<br />
Encryption: no</p>
]]></description><link>https://forum.cloudron.io/post/27160</link><guid isPermaLink="true">https://forum.cloudron.io/post/27160</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Sat, 06 Mar 2021 10:18:06 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot connect with TSL/SSL on Sat, 06 Mar 2021 10:14:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a><br />
Wow! That's a reaction time <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=a3d9da63442" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title="👍" alt="👍" /></p>
<p dir="auto">I don't have any plugins installed.</p>
<p dir="auto">The log from FreeScout shows the following (The last 4 entries):</p>
<p dir="auto"><img src="/assets/uploads/files/1615025457522-bildschirmfoto-2021-03-06-um-11.09.16-resized.png" alt="Last 4 entries" class=" img-fluid img-markdown" /></p>
<p dir="auto">Can I look somewhere to see if StartTLS was really used?</p>
<p dir="auto">THX</p>
]]></description><link>https://forum.cloudron.io/post/27159</link><guid isPermaLink="true">https://forum.cloudron.io/post/27159</guid><dc:creator><![CDATA[TestDesk]]></dc:creator><pubDate>Sat, 06 Mar 2021 10:14:16 GMT</pubDate></item></channel></rss>