<?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 for pocketbase]]></title><description><![CDATA[<p dir="auto">Hi there!</p>
<p dir="auto">I just confirmed that email works in PocketBase on Cloudron when using STARTTLS on port 2587.</p>
<p dir="auto">What confused me is that PocketBase’s default SMTP port is 587, but on Cloudron nothing listens on 587, the provided ports are 2525 (plain), 2587 (STARTTLS), and 2465 (SMTPS).</p>
<p dir="auto">Is the default 587 simply not applicable on Cloudron, or am I misunderstanding how PocketBase is expected to integrate with Cloudron’s mail relay?</p>
<p dir="auto">Thanks!<img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title="🙏" alt="🙏" /></p>
]]></description><link>https://forum.cloudron.io/topic/15053/email-for-pocketbase</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 06:28:36 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15053.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Feb 2026 22:10:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Email for pocketbase on Mon, 13 Apr 2026 10:01:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/valexico" aria-label="Profile: valexico">@<bdi>valexico</bdi></a><br />
The changelog of Cloudron can be found here: <a href="https://git.cloudron.io/platform/box/-/blob/master/CHANGES" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/master/CHANGES</a></p>
]]></description><link>https://forum.cloudron.io/post/123327</link><guid isPermaLink="true">https://forum.cloudron.io/post/123327</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 13 Apr 2026 10:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Mon, 13 Apr 2026 07:35:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a><br />
I realised I can't find where to follow the releases of Cloudron. I found this <a href="https://forum.cloudron.io/topic/14976/what-s-coming-in-9.1/64">post</a> which does not seem up to date (I am currently on 9.1.6).</p>
<p dir="auto">Is there a better source of information ?</p>
]]></description><link>https://forum.cloudron.io/post/123309</link><guid isPermaLink="true">https://forum.cloudron.io/post/123309</guid><dc:creator><![CDATA[Valexico]]></dc:creator><pubDate>Mon, 13 Apr 2026 07:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Thu, 09 Apr 2026 15:02:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/valexico" aria-label="Profile: valexico">@<bdi>valexico</bdi></a></p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/valexico" aria-label="Profile: Valexico">@<bdi>Valexico</bdi></a> <a href="/post/123120">said</a>:</p>
<p dir="auto">Are you speaking of a major release ?</p>
</blockquote>
<p dir="auto">No, the next minor release will include this fix.<br />
Until then, you can either set the port in pocketbase to <code>587</code> if incoming fails is enabled on your Cloudron. (not persistent across restarts)<br />
Or you change the mail domain from <code>my</code> to e.g. <code>mail</code>. (persistent across restarts)</p>
]]></description><link>https://forum.cloudron.io/post/123123</link><guid isPermaLink="true">https://forum.cloudron.io/post/123123</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 09 Apr 2026 15:02:18 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Thu, 09 Apr 2026 14:55:52 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your work on this. It was a hard one...<br />
Any idea of the timing of this next release ? Are you speaking of a major release ?</p>
]]></description><link>https://forum.cloudron.io/post/123120</link><guid isPermaLink="true">https://forum.cloudron.io/post/123120</guid><dc:creator><![CDATA[Valexico]]></dc:creator><pubDate>Thu, 09 Apr 2026 14:55:52 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Thu, 09 Apr 2026 14:44:34 GMT]]></title><description><![CDATA[<p dir="auto">We found a solution and this will be part of the next Cloudron release.</p>
]]></description><link>https://forum.cloudron.io/post/123118</link><guid isPermaLink="true">https://forum.cloudron.io/post/123118</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 09 Apr 2026 14:44:34 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Thu, 09 Apr 2026 11:41:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jesperbllnbm" aria-label="Profile: jesperbllnbm">@<bdi>jesperbllnbm</bdi></a></p>
<p dir="auto">This is/was a very complex issue to figure out.</p>
<h2>TL;DR - "fix" or workaround</h2>
<p dir="auto">Renaming your mail domain from <code>my</code> to e.g.: <code>mail</code> in <code>/#/email-settings</code> will resolve this issue. (be sure to also update your <a href="https://docs.cloudron.io/email#ptr-record" target="_blank" rel="noopener noreferrer nofollow ugc">PTR/rDNS record</a>)</p>
<p dir="auto">Changing the port from <code>2587</code> to <code>587</code> also works when incoming mails for your Cloudron server is enabled.<br />
Warning, changing just the port in pocketbase will not be permanent, since every app restart will configure <code>2587</code> again.</p>
<h2>Detailed report</h2>
<p dir="auto">Pocketbase is a golang application.<br />
If <a href="https://github.com/pocketbase/pocketbase/blob/78dc12dc29716de3d59dab15686d97b48e5130c3/.goreleaser.yaml#L18" target="_blank" rel="noopener noreferrer nofollow ugc"><code>CGO_ENABLED=0</code></a> is set for the build it will result in Go uses its own built-in resolver.<br />
While designed to mimic the system, it has known edge cases where it might skip /etc/hosts and rely entirely on DNS.</p>
<p dir="auto">Certain hosting providers, like DigitalOcean, will set the name for the server in the <code>/etc/hosts</code> file.<br />
So if you name your server <code>my.cloudron.dev</code> DigitalOcean will create a record in the <code>/etc/hosts</code> file with <code>my.cloudron.dev 127.0.0.1</code>, which will result into DNS queries asking for <code>my.cloudron.dev</code> to answer with <code>127.0.0.1</code>.<br />
If this is not handled by Cloudron certain things would not work.<br />
For example, if you'd use the N8N Cloudron app to run API calls against your own Cloudron server, it would resolve <code>my.cloudron.dev</code> to <code>127.0.0.1</code> and fail.</p>
<p dir="auto">This is why we have a line of code to prevent this issue - <a href="https://git.cloudron.io/platform/box/-/blob/v9.1.6/src/docker.js?ref_type=tags#L716" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/v9.1.6/src/docker.js?ref_type=tags#L716</a></p>
<pre><code class="language-js">if (manifest.id !== 'com.adguard.home.cloudronapp') containerOptions.HostConfig.ExtraHosts.push(`${dashboardFqdn}:172.18.0.1`);
</code></pre>
<p dir="auto">to always resolve the dashboard FQND to <code>172.18.0.1</code> which is the docker proxy / docker bridge inside the docker containers, except for the AdGuard app.</p>
<p dir="auto">But now, something specific can happen.<br />
The golang mail client requires the mail host to match the mail domain for StartTLS validation.<br />
That is why we have the <code>requiresValidCertificate</code> flag for the <a href="https://docs.cloudron.io/packaging/addons#sendmail" target="_blank" rel="noopener noreferrer nofollow ugc"><code>sendmail</code></a> addon for Cloudron apps to handle apps that need valid certificates for mailing.<br />
With <code>requiresValidCertificate</code> set to <code>false</code> (the default), the <code>CLOUDRON_MAIL_SMTP_SERVER</code> variable inside the docker containers will be <code>mail</code> which works for most apps.<br />
With <code>CLOUDRON_MAIL_SMTP_SERVER</code> set  <code>true</code>the <code>CLOUDRON_MAIL_SMTP_SERVER</code> will be the mail domain, by default <code>my.DOMAIN.TLD</code> so for me <code>my.cloudron.dev</code>.</p>
<p dir="auto">For pocketbase, Go uses its own built-in resolver, it now resolves <code>my.cloudron.dev</code> not to <code>172.18.0.1</code> but to the public IPv4/IPv6 <code>139.162.188.66</code>/<code>2a01:7e01::2000:3cff:fe7c:9d41</code> and tries to connect with port <code>2587</code> which fails, because port <code>2587</code> is only open internally.<br />
So at some point the failing connection times out and Go's will try to resolve <code>my.cloudron.dev</code> not with its internal resolver but from the system, which then sends the mail.<br />
This explains why the test mail is sent after some time, even tho it reports a timeout and fail.</p>
<p dir="auto">We are looking deeper into this to find a solution that covers these edge cases to prevent such issues in the future.<br />
The roads of DNS can be a harsh journey to navigate.</p>
]]></description><link>https://forum.cloudron.io/post/123115</link><guid isPermaLink="true">https://forum.cloudron.io/post/123115</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 09 Apr 2026 11:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 19:01:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> I was thinking fw not mail.</p>
<p dir="auto">Next thing would be to see what the code does</p>
]]></description><link>https://forum.cloudron.io/post/123092</link><guid isPermaLink="true">https://forum.cloudron.io/post/123092</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 08 Apr 2026 19:01:31 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 17:31:32 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a></p>
<p dir="auto">The Cloudron mail server was not throttling, I ensured that.</p>
]]></description><link>https://forum.cloudron.io/post/123084</link><guid isPermaLink="true">https://forum.cloudron.io/post/123084</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 08 Apr 2026 17:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 17:29:01 GMT]]></title><description><![CDATA[<p dir="auto">Could it be hitting throttling limits?</p>
]]></description><link>https://forum.cloudron.io/post/123082</link><guid isPermaLink="true">https://forum.cloudron.io/post/123082</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 08 Apr 2026 17:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 17:28:02 GMT]]></title><description><![CDATA[<p dir="auto">This behaviour is very odd.<br />
Sometimes it sends, sometimes it does not, but always the send test email times out.<br />
As if there is an internal event / cron handler that does not work correctly and only if you hit the perfect time frame to send a test mail it actually sends</p>
<p dir="auto">Many times it fails the send test mail only to send the mail after the failed attempt anyway.<br />
I observed this in the mail service logs and the debug log of pocketbase.</p>
<p dir="auto">There must be something going in internally that is creating this issue.</p>
<p dir="auto"><img src="/assets/uploads/files/1775668988759-37698875-3502-4bda-b362-daca9fce651c-image-resized.jpeg" alt="37698875-3502-4bda-b362-daca9fce651c-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/123081</link><guid isPermaLink="true">https://forum.cloudron.io/post/123081</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 08 Apr 2026 17:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 15:51:17 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/valexico" aria-label="Profile: valexico">@<bdi>valexico</bdi></a><br />
Thanks for reporting this.<br />
I am looking into it.</p>
]]></description><link>https://forum.cloudron.io/post/123079</link><guid isPermaLink="true">https://forum.cloudron.io/post/123079</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 08 Apr 2026 15:51:17 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 14:35:42 GMT]]></title><description><![CDATA[<p dir="auto">Hmm it appears that when sending test email, pocketbase is showing timeout but after a while I do receive the test email in my inbox.<br />
This slow response also make login very slow because pocketbase is trying to sen email alerts. I am not sure where can be the problem.</p>
<p dir="auto">From pocketbase point of view, the email request gave timeout<br />
From user point of view the login time is slow (~30 seconds maybe) -&gt; workround : disable login alerts<br />
But emails do get sent at the end ? At least test emails</p>
]]></description><link>https://forum.cloudron.io/post/123077</link><guid isPermaLink="true">https://forum.cloudron.io/post/123077</guid><dc:creator><![CDATA[Valexico]]></dc:creator><pubDate>Wed, 08 Apr 2026 14:35:42 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 08 Apr 2026 14:07:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
I don't succeed to make pocketbase work with cloudron SMTP<br />
I always end up with timeout errors</p>
<p dir="auto">What am I missing</p>
<p dir="auto"><img src="/assets/uploads/files/1775657204353-e2f68925-5623-428b-ae7f-026518a260f9-image.jpeg" alt="e2f68925-5623-428b-ae7f-026518a260f9-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/123076</link><guid isPermaLink="true">https://forum.cloudron.io/post/123076</guid><dc:creator><![CDATA[Valexico]]></dc:creator><pubDate>Wed, 08 Apr 2026 14:07:57 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 11 Feb 2026 20:21:53 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60d.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--heart_eyes" style="height:23px;width:auto;vertical-align:middle" title="😍" alt="😍" /> amazing turn around time</p>
]]></description><link>https://forum.cloudron.io/post/120060</link><guid isPermaLink="true">https://forum.cloudron.io/post/120060</guid><dc:creator><![CDATA[JesperBllnbm]]></dc:creator><pubDate>Wed, 11 Feb 2026 20:21:53 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 11 Feb 2026 13:46:54 GMT]]></title><description><![CDATA[<p dir="auto">The new package is out</p>
]]></description><link>https://forum.cloudron.io/post/120047</link><guid isPermaLink="true">https://forum.cloudron.io/post/120047</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 11 Feb 2026 13:46:54 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 11 Feb 2026 13:13:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jesperbllnbm" aria-label="Profile: jesperbllnbm">@<bdi>jesperbllnbm</bdi></a><br />
I was able to reproduce this issue.<br />
An app update will be avaible soon to fix the issue.</p>
]]></description><link>https://forum.cloudron.io/post/120043</link><guid isPermaLink="true">https://forum.cloudron.io/post/120043</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 11 Feb 2026 13:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 11 Feb 2026 11:41:53 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jesperbllnbm" aria-label="Profile: jesperbllnbm">@<bdi>jesperbllnbm</bdi></a><br />
I will look into it.</p>
]]></description><link>https://forum.cloudron.io/post/120035</link><guid isPermaLink="true">https://forum.cloudron.io/post/120035</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 11 Feb 2026 11:41:53 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Wed, 11 Feb 2026 07:58:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: James">@<bdi>James</bdi></a> - I do have 1 more question. Is it normal that the container restart (stop-&gt;start, using the cloudron dashboard) resets the email port? After a restart I am back to 587, is there a way to persist this configuration?</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://forum.cloudron.io/post/120016</link><guid isPermaLink="true">https://forum.cloudron.io/post/120016</guid><dc:creator><![CDATA[JesperBllnbm]]></dc:creator><pubDate>Wed, 11 Feb 2026 07:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Tue, 10 Feb 2026 23:05:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jesperbllnbm" aria-label="Profile: jesperbllnbm">@<bdi>jesperbllnbm</bdi></a><br />
Always happy to help.</p>
]]></description><link>https://forum.cloudron.io/post/120014</link><guid isPermaLink="true">https://forum.cloudron.io/post/120014</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 10 Feb 2026 23:05:58 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Tue, 10 Feb 2026 23:04:02 GMT]]></title><description><![CDATA[<p dir="auto">Wow such a quick response time! Thanks that cleared it <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title="👍" alt="👍" /></p>
]]></description><link>https://forum.cloudron.io/post/120012</link><guid isPermaLink="true">https://forum.cloudron.io/post/120012</guid><dc:creator><![CDATA[JesperBllnbm]]></dc:creator><pubDate>Tue, 10 Feb 2026 23:04:02 GMT</pubDate></item><item><title><![CDATA[Reply to Email for pocketbase on Tue, 10 Feb 2026 22:58:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jesperbllnbm" aria-label="Profile: jesperbllnbm">@<bdi>jesperbllnbm</bdi></a><br />
Due to the way PocketBase is developed it can not connect internally to STARTTLS without the certs.<br />
This works for mosts apps, but some don't like it.<br />
PocketBase is requiring a valid mail server certificate to send email internally, thus 2587 is used.</p>
]]></description><link>https://forum.cloudron.io/post/120011</link><guid isPermaLink="true">https://forum.cloudron.io/post/120011</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 10 Feb 2026 22:58:38 GMT</pubDate></item></channel></rss>