<?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[Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot;]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I noticed there was an incident with the <a href="http://smtp.live.com" target="_blank" rel="noopener noreferrer nofollow ugc">smtp.live.com</a> about 3 hours ago according to the Cloudron notifications page. It was only for five domains, but they all shared the same SMTP endpoint so I suspect there was a blip on Microsoft's side. Just an FYI.</p>
<p dir="auto">Not concerned because I know it's a false alert, but it did get me thinking... would it not be better to perhaps try one more SMTP destination if the first one reports a failure by the healthcheck? That would likely avoid false-positives like this one.</p>
<p dir="auto"><img src="/assets/uploads/files/1643522193231-a46ce2d0-1c9b-4557-bb53-4b7ca0e6cfff-image-resized.png" alt="a46ce2d0-1c9b-4557-bb53-4b7ca0e6cfff-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/topic/6405/email-healthcheck-notification-relay-error-connect-to-smtp-live-com-timed-out</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 13:33:48 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6405.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 30 Jan 2022 05:59:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Tue, 01 Feb 2022 01:07:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> Thing is since we don't control external services, it's hard to tell why something failed. Did they blacklist the server IP? Was it because outbound port 25 is blocked? Was it because the service died temporarily or even permanently (like the case for this post).</p>
<p dir="auto">Atleast, when I wrote the code, I didn't expect these services to go away <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> By now, all but 2 services remain. We started with around 5 services, 5 years ago. Anyway, I have now deployed <code>port25check.cloudron.io</code> and the code from next release will use that to check connectivity. Since, we don't blacklist there and will keep it running, we can be fairly certain that the VPS outbound port 25 is blocked. Let's see.</p>
]]></description><link>https://forum.cloudron.io/post/42678</link><guid isPermaLink="true">https://forum.cloudron.io/post/42678</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Feb 2022 01:07:43 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 19:59:53 GMT]]></title><description><![CDATA[<p dir="auto">Strange indeed, but I blocked the <strong>VPS</strong> Port 25.  Whilst blocked, I restarted Kuma and Tiny but to no avail.</p>
<p dir="auto">All up and running now with 25 unblocked.</p>
]]></description><link>https://forum.cloudron.io/post/66232</link><guid isPermaLink="true">https://forum.cloudron.io/post/66232</guid><dc:creator><![CDATA[RoundHouse1924]]></dc:creator><pubDate>Sun, 07 May 2023 19:59:53 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 19:15:20 GMT]]></title><description><![CDATA[<p dir="auto">And when a relay is configured:</p>
<p dir="auto"><img src="/assets/uploads/files/1683486913851-6978c112-e0cf-4281-b438-3dddd0dd7e08-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/66231</link><guid isPermaLink="true">https://forum.cloudron.io/post/66231</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 May 2023 19:15:20 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 19:07:04 GMT]]></title><description><![CDATA[<p dir="auto">Strange, why would Uptime Kuma and TTRSS fail with port 25 closed ?</p>
<p dir="auto">Here's what I did:</p>
<ul>
<li>
<p dir="auto">Block the outbound port 25 - <code>iptables -A OUTPUT -p tcp --destination-port 25 -j DROP</code></p>
</li>
<li>
<p dir="auto">Check status:<br />
<img src="/assets/uploads/files/1683486289431-242a413b-ef14-4fca-81f6-9a666fbdc186-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">Unblock - <code>iptables -D OUTPUT 1</code></p>
</li>
<li>
<p dir="auto">Check status again:<br />
<img src="/assets/uploads/files/1683486407749-e93f4acb-4736-40d0-b428-a20579d36196-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/66230</link><guid isPermaLink="true">https://forum.cloudron.io/post/66230</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 May 2023 19:07:04 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 18:35:57 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><br />
The situation I described was with v7.3.6 when I had only one outgoing domain and it used an external relay.</p>
<p dir="auto">Now with v7.4.1, I have 3 outgoing domains. One via the same external relay; the other 2 using the internal SMTP.  Port 25 is open on the VPS and all 3 status lights are green.</p>
<p dir="auto">So, in order to test your answer, I blocked outgoing Port 25 on the VPS firewall.</p>
<p dir="auto">As expected, the 2 direct domains go red.</p>
<p dir="auto">However, the <strong>external relay</strong> domain's Cloudron status page shows:-<br />
MX record = Current value: [not set]<br />
DMARC record = Current value: [not set]<br />
SMTP Status Outbound SMTP (Relay) = Connection timeout</p>
<p dir="auto">Looks to me that, with Port 25 closed, the SMTP check is made, but times out.</p>
<p dir="auto">The puzzler is to know what could be causing the MX and DMARC record checks to fail --- just because Port 25 is closed.</p>
<p dir="auto">EDIT:<br />
With Port 25 closed, Uptime Kuma and Tiny Tiny RSS cannot do their stuff, so I've now reopened it.</p>
]]></description><link>https://forum.cloudron.io/post/66223</link><guid isPermaLink="true">https://forum.cloudron.io/post/66223</guid><dc:creator><![CDATA[RoundHouse1924]]></dc:creator><pubDate>Sun, 07 May 2023 18:35:57 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 16:32:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roundhouse1924" aria-label="Profile: RoundHouse1924">@<bdi>RoundHouse1924</bdi></a> said in <a href="/post/66211">Email healthcheck notification: "Relay error: Connect to smtp.live.com timed out"</a>:</p>
<blockquote>
<p dir="auto">So, the port 25 check seems to be unnecessary and confusing for domains that use external relays.</p>
</blockquote>
<p dir="auto">The port 25 check is skipped for domains with a relay. If you find otherwise, please let us know, cause it's a bug. I just tested it with a relay and it is skipped.</p>
]]></description><link>https://forum.cloudron.io/post/66216</link><guid isPermaLink="true">https://forum.cloudron.io/post/66216</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 07 May 2023 16:32:39 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 15:54:24 GMT]]></title><description><![CDATA[<p dir="auto">I had one domain using an external relay and having port 25 closed on the VPS.  The above error was present, but disappeared when port 25 was opened.</p>
<p dir="auto">So, the port 25 check seems to be unnecessary and confusing for domains that use external relays.</p>
]]></description><link>https://forum.cloudron.io/post/66211</link><guid isPermaLink="true">https://forum.cloudron.io/post/66211</guid><dc:creator><![CDATA[RoundHouse1924]]></dc:creator><pubDate>Sun, 07 May 2023 15:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 13:35:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/66203">Email healthcheck notification: "Relay error: Connect to smtp.live.com timed out"</a>:</p>
<blockquote>
<p dir="auto">If you use a mail relay for all your domains, then this should not be relevant.</p>
</blockquote>
<p dir="auto">Thanks for clarification!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/66203">Email healthcheck notification: "Relay error: Connect to smtp.live.com timed out"</a>:</p>
<blockquote>
<p dir="auto">an you open the mail status tabs on all domains to see if this was just a temporary issue?</p>
</blockquote>
<p dir="auto">I will check and let you know if I found something.</p>
]]></description><link>https://forum.cloudron.io/post/66206</link><guid isPermaLink="true">https://forum.cloudron.io/post/66206</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Sun, 07 May 2023 13:35:08 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 13:23:55 GMT]]></title><description><![CDATA[<p dir="auto">If you use a mail relay for all your domains, then this should not be relevant. I do wonder why it tests for it then and also why the check fails, since the code also just checks like that. Can you open the mail status tabs on all domains to see if this was just a temporary issue?</p>
]]></description><link>https://forum.cloudron.io/post/66203</link><guid isPermaLink="true">https://forum.cloudron.io/post/66203</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 07 May 2023 13:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 13:16:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it does work on my server:</p>
<pre><code>telnet port25check.cloudron.io 25
Trying 165.227.67.76...
Connected to api.cloudron.io.
Escape character is '^]'.
works
Connection closed by foreign host.
</code></pre>
<p dir="auto">Is it important? I am using Postmark as a mail relay on all my outgoing mails, so I think it is not neccesary to have port 25 open in general, because it is never used?</p>
]]></description><link>https://forum.cloudron.io/post/66201</link><guid isPermaLink="true">https://forum.cloudron.io/post/66201</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Sun, 07 May 2023 13:16:49 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 13:05:07 GMT]]></title><description><![CDATA[<p dir="auto">Can you run <code>telnet port25check.cloudron.io 25</code> via SSH on your server to see if it works?</p>
]]></description><link>https://forum.cloudron.io/post/66200</link><guid isPermaLink="true">https://forum.cloudron.io/post/66200</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 07 May 2023 13:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Sun, 07 May 2023 12:38:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have the same problem on my Cloudron right now:</p>
<p dir="auto">Relay error: Connect to <a href="http://port25check.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">port25check.cloudron.io</a> timed out. Check if port 25 (outbound) is blocked</p>
<p dir="auto">Port 25 is not blocked.</p>
]]></description><link>https://forum.cloudron.io/post/66192</link><guid isPermaLink="true">https://forum.cloudron.io/post/66192</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Sun, 07 May 2023 12:38:25 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Wed, 16 Feb 2022 00:38:42 GMT]]></title><description><![CDATA[<p dir="auto">Is anybody try one of these delisting process ??</p>
<p dir="auto"><a href="https://sender.office.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://sender.office.com</a></p>
<h3>This one seams to be specifically for <a href="http://live.com" target="_blank" rel="noopener noreferrer nofollow ugc">live.com</a> and ...</h3>
<p dir="auto"><strong><a href="https://support.microsoft.com/en-us/supportrequestform/8ad563e3-288e-2a61-8122-3ba03d6b8d75" target="_blank" rel="noopener noreferrer nofollow ugc">https://support.microsoft.com/en-us/supportrequestform/8ad563e3-288e-2a61-8122-3ba03d6b8d75</a></strong></p>
<p dir="auto"><a href="https://sendersupport.olc.protection.outlook.com/snds/index.aspx" target="_blank" rel="noopener noreferrer nofollow ugc">https://sendersupport.olc.protection.outlook.com/snds/index.aspx</a></p>
<p dir="auto">I did the 2 first one, the first is pretty quick you receive an email and validate if the IP of your server is in their internal block list,<br />
the second is a form is a little bit more elaborate they ask for error message and if you have a website related to that domain.</p>
]]></description><link>https://forum.cloudron.io/post/43489</link><guid isPermaLink="true">https://forum.cloudron.io/post/43489</guid><dc:creator><![CDATA[JOduMonT]]></dc:creator><pubDate>Wed, 16 Feb 2022 00:38:42 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Fri, 04 Feb 2022 18:51:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roundhouse1924" aria-label="Profile: roundhouse1924">@<bdi>roundhouse1924</bdi></a> that's expected. it's not a website and not meant to be connected via http/https. It's only on port 25. you can try <code>telnet port25check.cloudron.io 25</code> .</p>
]]></description><link>https://forum.cloudron.io/post/42889</link><guid isPermaLink="true">https://forum.cloudron.io/post/42889</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 04 Feb 2022 18:51:27 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Fri, 04 Feb 2022 18:37:42 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><br />
<a href="https://port25check.cloudron.io/" target="_blank" rel="noopener noreferrer nofollow ugc">https://port25check.cloudron.io/</a> produces an error, as the cert is only for <a href="http://api.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">api.cloudron.io</a></p>
]]></description><link>https://forum.cloudron.io/post/42888</link><guid isPermaLink="true">https://forum.cloudron.io/post/42888</guid><dc:creator><![CDATA[RoundHouse1924]]></dc:creator><pubDate>Fri, 04 Feb 2022 18:37:42 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Fri, 04 Feb 2022 17:55:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> yes, correct, nothing to worry here. It will be fixed in the upcoming update.</p>
]]></description><link>https://forum.cloudron.io/post/42884</link><guid isPermaLink="true">https://forum.cloudron.io/post/42884</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 04 Feb 2022 17:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Fri, 04 Feb 2022 09:34:25 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> are we supposed to be doing anything with our email dashboards ?  I have a number of domains which are shown as red, but checking some of them in that domain panel status, all shows as green.<br />
Not too worried, just not sure what we should be doing.</p>
]]></description><link>https://forum.cloudron.io/post/42867</link><guid isPermaLink="true">https://forum.cloudron.io/post/42867</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 04 Feb 2022 09:34:25 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Fri, 04 Feb 2022 07:31:02 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> said in <a href="/post/42852">Email healthcheck notification: "Relay error: Connect to smtp.live.com timed out"</a>:</p>
<blockquote>
<p dir="auto">what should we show in the UI? That outbound port 25 works or it does not? Is it useful to have messages like "We managed to connect to <a href="http://port25check.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">port25check.cloudron.io</a> but not to <a href="http://smtp.live.com" target="_blank" rel="noopener noreferrer nofollow ugc">smtp.live.com</a>" (or any of those combinations).</p>
</blockquote>
<p dir="auto">Good question! I don't actually think anything should be shown in the UI if only one SMTP test fails out of two, as that scenario would imply a false-positive.</p>
<p dir="auto">So what I envision is the following (hopefully this explains it better):</p>
<p dir="auto">-- Cloudron runs periodic checks on one of several SMTP servers for testing purposes.<br />
---- If the check succeeds, then wait for next check 30 minute interval.<br />
---- If the check fails, then run one more test right away (or even 60 seconds later to avoid network blips on the VPS) to a second/different SMTP server to validate the finding.<br />
------ If the second SMTP server succeeds, then ignore the initial failure and mark as successful. Possibly make a log entry, but nothing needed in the UI.<br />
------ If the second SMTP server fails, log the errors with more details (mention both SMTP servers that were checked and failed). In the UI, show a message similar to <code>Relay error: SMTP connection tests failed. Check if port 25 (outbound) is blocked. View the Cloudron logs for more details.</code></p>
<p dir="auto">I don't really think the exact servers need to be listed in the UI if they're already in the logs. If both SMTP servers fail, it'll be with much higher confidence that port 25 outbound is blocked and that should be the admin's focus. If they can confirm that it's not blocked, then they can use the logs to get more details and run additional tests from their server.</p>
<p dir="auto">That's how I picture it anyways. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> I see that as helping avoid false-positives while also providing enough details in the logs for when an issue is actually detected (and more confidently in that case too). The UI can be a simplified in a small way to refer the admin to their logs for further details while still suggesting that port 25 may be blocked.</p>
<p dir="auto">Side note: I just checked and the "troubleshooting" hyperlink at the bottom of the alert message overall leads to an incorrect spot. May need to be updated to perhaps <a href="https://docs.cloudron.io/email/#outbound-smtp" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/email/#outbound-smtp</a> or something like that.</p>
]]></description><link>https://forum.cloudron.io/post/42859</link><guid isPermaLink="true">https://forum.cloudron.io/post/42859</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Fri, 04 Feb 2022 07:31:02 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Fri, 04 Feb 2022 00:04:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> no worries <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> I think the issue is that let's say we add another external service for dependency and the connection does not work, what should we show in the UI? That outbound port 25 works or it does not? Is it useful to have messages like "We managed to connect to <a href="http://port25check.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">port25check.cloudron.io</a> but not to <a href="http://smtp.live.com" target="_blank" rel="noopener noreferrer nofollow ugc">smtp.live.com</a>" (or any of those combinations). I suspect users will come back with same questions/confusion as they do now. Atleast, the code currently is written with the assumption that connectivity (or not) is a "reliable" indicator of outbound port 25. Maybe I misunderstood what you mean by redundancy.</p>
]]></description><link>https://forum.cloudron.io/post/42852</link><guid isPermaLink="true">https://forum.cloudron.io/post/42852</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 04 Feb 2022 00:04:18 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Thu, 03 Feb 2022 23:51:10 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> said in <a href="/post/42678">Email healthcheck notification: "Relay error: Connect to smtp.live.com timed out"</a>:</p>
<blockquote>
<p dir="auto">Thing is since we don't control external services, it's hard to tell why something failed.</p>
</blockquote>
<p dir="auto">For sure, but that's also why double-checking in the event of a failure would be best in order to avoid false-positives instead of one failure generating a ton of alerts. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /> Logic to show that one failure would then cause Cloudron to perhaps not use it for a few hours would allow for rate-limiting or blacklisting to be resolved in time on its own, and would avoid needing to wait for an entire new release to update the list of SMTP servers as they change, etc. If one fails but one succeeds, we automatically know port 25 outbound is not blocked.</p>
<blockquote>
<p dir="auto">I have now deployed <a href="http://port25check.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">port25check.cloudron.io</a> and the code from next release will use that to check connectivity. Since, we don't blacklist there and will keep it running, we can be fairly certain that the VPS outbound port 25 is blocked.</p>
</blockquote>
<p dir="auto">That's awesome and will add to the troubleshooting ability!! Happy to see that too.</p>
<p dir="auto">Personally I'd still love to see redundancy in place, as there will certainly be the rare outage on your end too as with other services, but this will at least add a bit more under your control to help lessen the likelihood of false positives which is still a step in the right direction. If I'm banging the drum well past my allotted time on this then that's understandable as it certainly isn't major, just something I'd love to see improved further still. I'll let it go now. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":-P" alt="😛" /></p>
<p dir="auto">Thanks for everything you do! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/42851</link><guid isPermaLink="true">https://forum.cloudron.io/post/42851</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 03 Feb 2022 23:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Tue, 01 Feb 2022 01:07:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> Thing is since we don't control external services, it's hard to tell why something failed. Did they blacklist the server IP? Was it because outbound port 25 is blocked? Was it because the service died temporarily or even permanently (like the case for this post).</p>
<p dir="auto">Atleast, when I wrote the code, I didn't expect these services to go away <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> By now, all but 2 services remain. We started with around 5 services, 5 years ago. Anyway, I have now deployed <code>port25check.cloudron.io</code> and the code from next release will use that to check connectivity. Since, we don't blacklist there and will keep it running, we can be fairly certain that the VPS outbound port 25 is blocked. Let's see.</p>
]]></description><link>https://forum.cloudron.io/post/42678</link><guid isPermaLink="true">https://forum.cloudron.io/post/42678</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 01 Feb 2022 01:07:43 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Mon, 31 Jan 2022 23:25:10 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 Girish! I think it's a good idea to add in a Cloudron-controlled SMTP server for testing purposes. I still would suggest we have a two-check failure workflow to avoid false-positives like this, as that would be best practice in similar scenarios outside of Cloudron (like liveness probes in Kubernetes which will generally work with multiple failure points to avoid false-positives). If it's too much work though I understand, I just still think it'd be really helpful for these types of scenarios and would so I'd love to see health checks done in such a way to avoid false-positives like this kind of issue.</p>
]]></description><link>https://forum.cloudron.io/post/42675</link><guid isPermaLink="true">https://forum.cloudron.io/post/42675</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Mon, 31 Jan 2022 23:25:10 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Mon, 31 Jan 2022 19:21:15 GMT]]></title><description><![CDATA[<p dir="auto">Indeed, <code>smtp.live.com</code> is apparently gone or does not respond to port 25 anymore.</p>
<p dir="auto">Some background: Cloudron tries to connect to some well know servers on port 25 for diagnostic purposes. It uses this to check if outbound port 25 is allowed on the VPS. It's not really used for anything else. The list of servers comes from <a href="https://git.cloudron.io/cloudron/box/-/blob/master/src/mail.js#L172" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/blob/master/src/mail.js#L172</a></p>
<p dir="auto">The warning can be ignored, for the moment. I have removed it in the next release.</p>
<p dir="auto">I think we will try to create a <code>smtpdiag.cloudron.io</code> or something to test port 25 reach ability.</p>
]]></description><link>https://forum.cloudron.io/post/42657</link><guid isPermaLink="true">https://forum.cloudron.io/post/42657</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 31 Jan 2022 19:21:15 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Mon, 31 Jan 2022 14:39:20 GMT]]></title><description><![CDATA[<p dir="auto">Just adding to the chorus of people noticing this happen to them.</p>
<p dir="auto">I just spotted this notification from 12 hours ago:</p>
<pre><code>Relay error: Connect to smtp.live.com timed out. Check if port 25 (outbound) is blocked
</code></pre>
<p dir="auto">I wonder if the timeout settings on <a href="http://smtp.live.com" target="_blank" rel="noopener noreferrer nofollow ugc">smtp.live.com</a> have recently changed or something to make it time out quicker.</p>
]]></description><link>https://forum.cloudron.io/post/42633</link><guid isPermaLink="true">https://forum.cloudron.io/post/42633</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 31 Jan 2022 14:39:20 GMT</pubDate></item><item><title><![CDATA[Reply to Email healthcheck notification: &quot;Relay error: Connect to smtp.live.com timed out&quot; on Mon, 31 Jan 2022 13:00:15 GMT]]></title><description><![CDATA[<p dir="auto">Just to rule out one point. Those smtp servers will quickly rate-limit, so if you refresh the status check from your Cloudron dashboard, after already a few attempts within a short period of time, they will fail as the IP gets temporarily blocked.</p>
]]></description><link>https://forum.cloudron.io/post/42628</link><guid isPermaLink="true">https://forum.cloudron.io/post/42628</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 31 Jan 2022 13:00:15 GMT</pubDate></item></channel></rss>