<?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[Apps using requiresValidCertificate in the sendmail addon cannot send emails on a domain configured to use an external SMTP relay]]></title><description><![CDATA[<p dir="auto">I ran into an issue while packaging a Django app that performs strict certificate validation on the hostname when sending emails, installed on a Cloudron instance that uses an external SMTP relay (another Cloudron) for outgoing mail.</p>
<p dir="auto">When <code>requiresValidCertificate</code> is set to <code>true</code> in the app manifest, Cloudron replaces the value of <code>CLOUDRON_MAIL_SMTP_SERVER</code> with the FQDN of the mail server, as described in the <a href="https://docs.cloudron.io/packaging/addons#sendmail" target="_blank" rel="noopener noreferrer nofollow ugc">docs</a>. The problem is that when the domain's mailing settings are configured to relay through an external SMTP server, Cloudron doesn't seem expose any mailing ports, so the app ends up trying to connect to a host that simply doesn't accept SMTP connections.</p>
<p dir="auto">Steps to reproduce:</p>
<ol>
<li>Configure a domain on Cloudron to relay outgoing mail through an external SMTP server</li>
<li>Install <a href="https://www.cloudron.io/store/#app/ntfy" target="_blank" rel="noopener noreferrer nofollow ugc">ntfy</a> using that domain</li>
<li>Log in to the admin account and add an email address to it</li>
<li>The verification email will never be sent</li>
</ol>
<p dir="auto">ntfy doesn't appear to log an error in this case, the connection attempt to the SMTP server most likely just times out silently in the background.</p>
]]></description><link>https://forum.cloudron.io/topic/15841/apps-using-requiresvalidcertificate-in-the-sendmail-addon-cannot-send-emails-on-a-domain-configured-to-use-an-external-smtp-relay</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 17:54:42 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15841.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2026 16:59:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Apps using requiresValidCertificate in the sendmail addon cannot send emails on a domain configured to use an external SMTP relay on Sat, 22 Aug 2026 20:04:17 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the report. I have fixed this with 1cd0140808ccaadc665e9f06b3910a8abbbdc167</p>
]]></description><link>https://forum.cloudron.io/post/128427</link><guid isPermaLink="true">https://forum.cloudron.io/post/128427</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 22 Aug 2026 20:04:17 GMT</pubDate></item><item><title><![CDATA[Reply to Apps using requiresValidCertificate in the sendmail addon cannot send emails on a domain configured to use an external SMTP relay on Sat, 22 Aug 2026 08:54:53 GMT]]></title><description><![CDATA[<p dir="auto">mm, something else must be off. The code path for sending email with or without relay is the same from app's point of view.</p>
]]></description><link>https://forum.cloudron.io/post/128411</link><guid isPermaLink="true">https://forum.cloudron.io/post/128411</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 22 Aug 2026 08:54:53 GMT</pubDate></item><item><title><![CDATA[Reply to Apps using requiresValidCertificate in the sendmail addon cannot send emails on a domain configured to use an external SMTP relay on Wed, 19 Aug 2026 17:07:29 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/milian.hackradt" aria-label="Profile: milian.hackradt">@<bdi>milian.hackradt</bdi></a><br />
That is a tricky one.<br />
Since when using <code>requiresValidCertificate: true</code> the <code>CLOUDRON_MAIL_SMTP_SERVER</code> variable points to the domain itself e.g.: <code>mail.cloudron.dev</code>.<br />
But when <code>mail.cloudron.dev</code> is not hosting the mail server but is using a relay, there is no smtp/imap port to connect to.<br />
So when using the other variables from <a href="https://docs.cloudron.io/packaging/addons#sendmail" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/packaging/addons#sendmail</a> for automatic configuration, the app itself tries to auth against something that is not there.</p>
<p dir="auto">Interesting edge case you found there!</p>
]]></description><link>https://forum.cloudron.io/post/128303</link><guid isPermaLink="true">https://forum.cloudron.io/post/128303</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 19 Aug 2026 17:07:29 GMT</pubDate></item></channel></rss>