<?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[Mail Relay - to Bridge Cloudron Servers]]></title><description><![CDATA[<p dir="auto">I have this situation coming up over and over - and it is annoying.<br />
Issue: When setting up Cloudron for a client they 1. Have port 25 blocked, 2 do not currently use the other options for email, and 3. would rather not add something to their SPF records just for the sake of sending out individual password reset notifications.</p>
<p dir="auto">So my ideal solution is to use my cloudron server to run these notifications. And for my cloudron server to send using email addresses originating from it's own domain.</p>
<p dir="auto">So... Cloudron server A (my server) has port 25 available and a happy sending domain.</p>
<p dir="auto">I want to subscribe Cloudron server B to send all emails from a that happy sending domain described above.</p>
<p dir="auto">When I do this I get all kinds of errors like</p>
<ol>
<li>Email address "admin.app" is not a valid alias to send emails for this user.<br />
and.</li>
<li>Cannot send emails for otherdomain from this domain because bla bla bla<br />
Or</li>
<li>You have to enable server A to receive email in order for server B to connect to it via SMTP and send emails out creating the errors above.</li>
</ol>
<p dir="auto">Anyway I would love to find an elegant solution which allows Cloudron-Server-B to send notification emails via a different domain without having to individually enable every single sending address.</p>
]]></description><link>https://forum.cloudron.io/topic/7613/mail-relay-to-bridge-cloudron-servers</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 05:29:10 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7613.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Sep 2022 19:02:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mail Relay - to Bridge Cloudron Servers on Wed, 05 Oct 2022 22:00:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/roofboard" aria-label="Profile: roofboard">@<bdi>roofboard</bdi></a> did you get this sorted out?</p>
]]></description><link>https://forum.cloudron.io/post/54101</link><guid isPermaLink="true">https://forum.cloudron.io/post/54101</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 05 Oct 2022 22:00:19 GMT</pubDate></item><item><title><![CDATA[Reply to Mail Relay - to Bridge Cloudron Servers on Wed, 14 Sep 2022 20:56:09 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 problem seems to be that on "Server A" I have to enable mailservices for the domain in question. Then when I try to send mail from Server B the</p>
<p dir="auto">server B produces an error</p>
<pre><code>{
  "ts": 1663009665363,
  "type": "deferred",
  "direction": "outbound",
  "uuid": "B17FA8D4-5997-4FE6-8636-400140195457.1",
  "messageId": null,
  "mailFrom": "&lt;&gt;",
  "spamStatus": null,
  "rcptTo": [
    "&lt;no-reply@serverB.com&gt;"
  ],
  "message": "Tried all MXs",
  "delay": 8192
}
</code></pre>
<p dir="auto">and server A produces the error</p>
<pre><code>{
  "ts": 1663009909718,
  "type": "bounce",
  "direction": "outbound",
  "uuid": "380CB958-8DD9-45DC-B9C3-13F89C1FD866.1.1",
  "messageId": "&lt;f993a729-8533-909f-f3d0-be386c19df96@draglabs.com&gt;",
  "mailFrom": "&lt;no-reply@draglabs.com&gt;",
  "spamStatus": null,
  "rcptTo": [
    "&lt;user@serverB.com&gt;"
  ],
  "message": "Some recipients failed: &lt;user@serverB.com&gt;",
  "mx": {
    "priority": 0,
    "exchange": "127.0.0.1",
    "port": 2424,
    "using_lmtp": true,
    "family": "A",
    "bind_helo": "my.draglabs.com"
  },
  "bounced_rcpt": [
    {
      "original": "&lt;user@serverB.com&gt;",
      "original_host": "serverB.com",
      "host": "serverB.com",
      "user": "user",
      "reason": "550 5.1.1 &lt;user@serverB.com&gt; User doesn't exist: user@serverB.com",
      "dsn_action": "failed",
      "dsn_smtp_code": "550",
      "dsn_smtp_extc": "5.1.1",
      "dsn_status": "5.1.1",
      "dsn_smtp_response": "&lt;user@serverB.com&gt; User doesn't exist: user@serverB.com",
      "dsn_remote_mta": "127.0.0.1"
    }
  ]
}
</code></pre>
<p dir="auto">What I think is happening is that because I enabled email on Server A, Server A is automatically looking for that user's email inbox to drop the email as opposed to routing it though the internet where is would use the MX records listed in the DNS.</p>
<p dir="auto">So the question becomes how do you log into an email server without enabling inbound email.</p>
<p dir="auto">Or how do you convince cloudron to be happy sending email from a different subdomain? like <a href="http://mail.serverb.com" target="_blank" rel="noopener noreferrer nofollow ugc">mail.serverb.com</a> without setting the root of server be to <a href="http://my.mail.serverb.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.mail.serverb.com</a></p>
<h2>yes confirmed</h2>
<p dir="auto">I did some tests and they way it is configured now I can email anyone other than &lt;user&gt;@DomainB.com and if I disable "Incoming Email" then the server A user "<a href="mailto:relay@serverB.com" target="_blank" rel="noopener noreferrer nofollow ugc">relay@serverB.com</a>" cannot authenticate for the purpose of sending emails.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>  - Any Ideas on a solution here?</p>
]]></description><link>https://forum.cloudron.io/post/53304</link><guid isPermaLink="true">https://forum.cloudron.io/post/53304</guid><dc:creator><![CDATA[roofboard]]></dc:creator><pubDate>Wed, 14 Sep 2022 20:56:09 GMT</pubDate></item><item><title><![CDATA[Reply to Mail Relay - to Bridge Cloudron Servers on Mon, 05 Sep 2022 08:58:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> I agree with that, we are using Postmark, it's $10 per month only for a normal volume and really easy to set up. The deliverability has increased compared to other solutions like a mail package with even an established company in the market.</p>
]]></description><link>https://forum.cloudron.io/post/53014</link><guid isPermaLink="true">https://forum.cloudron.io/post/53014</guid><dc:creator><![CDATA[ekevu123]]></dc:creator><pubDate>Mon, 05 Sep 2022 08:58:02 GMT</pubDate></item><item><title><![CDATA[Reply to Mail Relay - to Bridge Cloudron Servers on Sun, 04 Sep 2022 18:31:41 GMT]]></title><description><![CDATA[<p dir="auto">I have a 'hack' for this:</p>
<ul>
<li>Add the domain of Cloudron server B into Cloudron server A.</li>
<li>Disable mail from validation in Cloudron server A for the added domain.</li>
<li>Create a "relay" user in Cloudron server A and also a <code>relay@</code> mailbox.</li>
<li>Set the above credentials as the external relay in Cloudron server B.</li>
</ul>
<p dir="auto">This will allow server B to send emails via server A for that specific domain you added. You have to repeat for every domain you want to relay.</p>
]]></description><link>https://forum.cloudron.io/post/52997</link><guid isPermaLink="true">https://forum.cloudron.io/post/52997</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 04 Sep 2022 18:31:41 GMT</pubDate></item><item><title><![CDATA[Reply to Mail Relay - to Bridge Cloudron Servers on Sat, 03 Sep 2022 20:20:11 GMT]]></title><description><![CDATA[<p dir="auto">Why dont you use a external SMTP? That would solve all your problems. If its just for notifications and small stuff, most free tiers of popular SMTP providers should be sufficient.</p>
]]></description><link>https://forum.cloudron.io/post/52981</link><guid isPermaLink="true">https://forum.cloudron.io/post/52981</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Sat, 03 Sep 2022 20:20:11 GMT</pubDate></item></channel></rss>