<?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 relay issue, emails don&#x27;t deliver]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I've been searching all around about an issue I have with Cloudron and the email relay.</p>
<p dir="auto">For context:</p>
<ul>
<li>Email domain is <code>ca.example.com</code></li>
<li>App domain is <code>cal.my.example.com</code></li>
<li>Cloudron domain is <code>my.domain.com</code></li>
<li>DNS is DigitalOcean</li>
</ul>
<p dir="auto">I'm using Mailgun as my email service, and setup <code>ca.example.com</code> as the email domain on Mailgun. I've followed all their instructions about adding the required DNS records.</p>
<p dir="auto">I then added the email relay in Cloudron using my SMTP credentials. Connection successful, but emails don't deliver at all.</p>
<p dir="auto">I'm getting the following error:<br />
<img src="/assets/uploads/files/1708646256095-2024-02-22_18-57-25-resized.png" alt="2024-02-22_18-57-25.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Any clues? I'm really confused here.<br />
Regards.</p>
]]></description><link>https://forum.cloudron.io/topic/11165/email-relay-issue-emails-don-t-deliver</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 06:08:49 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11165.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Feb 2024 23:57:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Email relay issue, emails don&#x27;t deliver on Sat, 24 Feb 2024 23:11:16 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> Perfect, that solved it. Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/83939</link><guid isPermaLink="true">https://forum.cloudron.io/post/83939</guid><dc:creator><![CDATA[Lanhild]]></dc:creator><pubDate>Sat, 24 Feb 2024 23:11:16 GMT</pubDate></item><item><title><![CDATA[Reply to Email relay issue, emails don&#x27;t deliver on Fri, 23 Feb 2024 09:33:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lanhild" aria-label="Profile: Lanhild">@<bdi>Lanhild</bdi></a> said in <a href="/post/83824">Email relay issue, emails don't deliver</a>:</p>
<blockquote>
<p dir="auto">Email domain is <a href="http://ca.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">ca.example.com</a><br />
App domain is <a href="http://cal.my.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">cal.my.example.com</a><br />
Cloudron domain is <a href="http://my.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.domain.com</a></p>
</blockquote>
<p dir="auto">(Assuming, none of the above are typos... For example, app is really in <code>cal.my.example.com</code> and not <code>cal.example.com</code>?)</p>
<p dir="auto">If you added <code>ca.example.com</code> in mailgun, you can only send emails from <code>*@ca.example.com</code> . When an app tries to send email it will send it as <code>MAIL FROM: app@cal.my.example.com</code> . This will go to the relay and the relay will reject it. Auth will succeed but the MAIL FROM is not matching.</p>
<p dir="auto">To fix, they need to match. For example, add <code>ca.example.com</code> as a Domain on Cloudron. Then, it will appear in the Email view. Configure mailgun as relay for this Email domain. Then, configure the App -&gt; Email section -&gt; choose <a href="http://ca.example.com" target="_blank" rel="noopener noreferrer nofollow ugc">ca.example.com</a> as the MAIL FROM.</p>
]]></description><link>https://forum.cloudron.io/post/83842</link><guid isPermaLink="true">https://forum.cloudron.io/post/83842</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 23 Feb 2024 09:33:05 GMT</pubDate></item><item><title><![CDATA[Reply to Email relay issue, emails don&#x27;t deliver on Fri, 23 Feb 2024 00:47:21 GMT]]></title><description><![CDATA[<p dir="auto">It doesn't like that your email domain does not match your cloudron sender domain.</p>
]]></description><link>https://forum.cloudron.io/post/83831</link><guid isPermaLink="true">https://forum.cloudron.io/post/83831</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 23 Feb 2024 00:47:21 GMT</pubDate></item></channel></rss>