<?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[Forward emails to remote SMTP server]]></title><description><![CDATA[<p dir="auto">Folks,</p>
<p dir="auto">I'm running a Cloudron instance in DigitalOcean which is working great. My use case requires that Cloudron receive all inbound traffic and then forward all (or selected) mailboxes to a remote SMTP server (not an email) which has more storage etc...</p>
<p dir="auto">I wasn't able to find any feature like this. Can someone confirm if it is possible at all ?</p>
<p dir="auto">E.g.</p>
<p dir="auto">Inbound email (to: <a href="mailto:user@domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">user@domain.com</a>) -&gt; Cloudron @ DO -&gt; Internal SMTP Server with bigger storage.</p>
<p dir="auto">Outbound email (from: <a href="mailto:user@domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">user@domain.com</a>) -&gt; Cloudron @ DO -&gt; Internet</p>
]]></description><link>https://forum.cloudron.io/topic/6883/forward-emails-to-remote-smtp-server</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 19:42:14 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6883.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Apr 2022 13:34:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Mon, 28 Jul 2025 15:49:27 GMT]]></title><description><![CDATA[<h1>Closed due to inactivity</h1>
]]></description><link>https://forum.cloudron.io/post/110827</link><guid isPermaLink="true">https://forum.cloudron.io/post/110827</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 28 Jul 2025 15:49:27 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Fri, 29 Apr 2022 18:42:03 GMT]]></title><description><![CDATA[<p dir="auto">I think you're looking for more of a mail relay setup with archival things done for incoming emails.</p>
]]></description><link>https://forum.cloudron.io/post/46876</link><guid isPermaLink="true">https://forum.cloudron.io/post/46876</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 29 Apr 2022 18:42:03 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Fri, 29 Apr 2022 10:20:34 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> So I tried direct MX to my home and got errors:</p>
<pre><code>[Default] 451-'4.7.1 Greylisting in action, please come back later' (delivery attempts: 5)&gt;'
</code></pre>
<p dir="auto">So back to my original problem now - I'm thinking of either putting procmail on Synology and fetch emails or either use iptables/VPN route to send email home.</p>
]]></description><link>https://forum.cloudron.io/post/46861</link><guid isPermaLink="true">https://forum.cloudron.io/post/46861</guid><dc:creator><![CDATA[binary1zero]]></dc:creator><pubDate>Fri, 29 Apr 2022 10:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Thu, 28 Apr 2022 16:57:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> inbound/outbound IP match is not needed. The reputation of outbound IP is very important though.</p>
<p dir="auto">If <a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a> is using some business IP from their ISP, one can just host the mail server from home/office instead of all this forwarding.</p>
]]></description><link>https://forum.cloudron.io/post/46823</link><guid isPermaLink="true">https://forum.cloudron.io/post/46823</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Apr 2022 16:57:44 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Thu, 28 Apr 2022 16:53:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> said in <a href="/post/46788">Forward emails to remote SMTP server</a>:</p>
<blockquote>
<p dir="auto">From what I know, PTR and stuff is only necessary for outbound relay</p>
</blockquote>
<p dir="auto">that's correct. PTR is for the server that does the mail transfer, so it won't be needed if an external relay is used. On Cloudron, the PTR check is skipped when using a relay.</p>
]]></description><link>https://forum.cloudron.io/post/46821</link><guid isPermaLink="true">https://forum.cloudron.io/post/46821</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Apr 2022 16:53:34 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Thu, 28 Apr 2022 12:35:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mehdi" aria-label="Profile: mehdi">@<bdi>mehdi</bdi></a> iirc, one signal used to detect spam is whether the inbound and outbound IPs are the same. Maybe this is not the case, but Google and Microsoft are pretty finicky about email delivery so my instinct is to keep the externally visible configuration 'clean'. That's why I am looking at a design like this.</p>
]]></description><link>https://forum.cloudron.io/post/46798</link><guid isPermaLink="true">https://forum.cloudron.io/post/46798</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Thu, 28 Apr 2022 12:35:27 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Thu, 28 Apr 2022 08:26:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a> From the constraints you mentioned, I do not understand why you don't simply use the home server as a main email server, but with an external relay for outgoing email (assuming your ISP does not block inbound 25).</p>
<p dir="auto">From what I know, PTR and stuff is only necessary for outbound relay, as it mostly affects server reputation when other server decide incoming email is spam.</p>
]]></description><link>https://forum.cloudron.io/post/46788</link><guid isPermaLink="true">https://forum.cloudron.io/post/46788</guid><dc:creator><![CDATA[mehdi]]></dc:creator><pubDate>Thu, 28 Apr 2022 08:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 16:59:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/infogulch" aria-label="Profile: infogulch">@<bdi>infogulch</bdi></a> Thank you that was insightful.</p>
<p dir="auto">Outbound is answered via that post.</p>
<p dir="auto">For inbound, here's what I'm thinking now :</p>
<ul>
<li>Setup private wireguard connection between DO and my home server</li>
<li>Turn off Inbound email on DO Cloudron.</li>
<li>Redirect inbound ports like TCP/25 via iptables on DO to home server via wireguard</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/46756</link><guid isPermaLink="true">https://forum.cloudron.io/post/46756</guid><dc:creator><![CDATA[binary1zero]]></dc:creator><pubDate>Wed, 27 Apr 2022 16:59:23 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 16:21:22 GMT]]></title><description><![CDATA[<p dir="auto">Previous discussion on the topic:</p>
<p dir="auto"><a href="https://forum.cloudron.io/topic/6046/proxy-email-via-vps/9">https://forum.cloudron.io/topic/6046/proxy-email-via-vps/9</a></p>
]]></description><link>https://forum.cloudron.io/post/46752</link><guid isPermaLink="true">https://forum.cloudron.io/post/46752</guid><dc:creator><![CDATA[infogulch]]></dc:creator><pubDate>Wed, 27 Apr 2022 16:21:22 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 14:38:57 GMT]]></title><description><![CDATA[<p dir="auto">Another question is that can I even use Cloudron as a "relay server" from downstream server ? I wasn't able to find any option to whitelist IP or any other way apart from authenticating users at cloudron for outbound emails.</p>
]]></description><link>https://forum.cloudron.io/post/46736</link><guid isPermaLink="true">https://forum.cloudron.io/post/46736</guid><dc:creator><![CDATA[binary1zero]]></dc:creator><pubDate>Wed, 27 Apr 2022 14:38:57 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 14:22:16 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> said in <a href="/post/46712">Forward emails to remote SMTP server</a>:</p>
<blockquote>
<p dir="auto">EDIT : could a sieve filter work to forward all incoming email to another server ?  Then just delete/purge periodically on initial receiving server after a time period.</p>
</blockquote>
<p dir="auto">I've looked into this but it doesn't seems to be an option. Sieve filter can only redirect to another "email" rather than a mail server. In this case - both emails would be same as we are just forwarding it to a remote mailbox.</p>
]]></description><link>https://forum.cloudron.io/post/46734</link><guid isPermaLink="true">https://forum.cloudron.io/post/46734</guid><dc:creator><![CDATA[binary1zero]]></dc:creator><pubDate>Wed, 27 Apr 2022 14:22:16 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 12:50:41 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/46702">Forward emails to remote SMTP server</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a> there is no built-in solution for forwarding to another email server.</p>
<p dir="auto">This is indeed an interesting request though. I guess this allows a setup where the mail is actually stored at home? Also, if the server is at home, how will you access email when outside? Does this mean you will have the home server partially exposed to the world for mail access? In addition, on many ISPs, inbound port 25 is blocked (yes, even inbound, like in comcast).</p>
</blockquote>
<p dir="auto">Exactly what you said. Plan is to run Cloudron/or other mail server on my Synology at home which has ample amount of storage but since ISP cannot give PTR and other settings - I'm using DigitalOcean droplet with Cloudron for my incoming mail (and it works beautifully).</p>
<p dir="auto">However, it's expensive to store big mailboxes in cloud. So idea is to receive email via cloudron but forward to downstream mail server at home. Home mail server will be exposed enough to access via IMAP etc.. and it will relay all outbound emails via Droplet/Cloud.</p>
]]></description><link>https://forum.cloudron.io/post/46724</link><guid isPermaLink="true">https://forum.cloudron.io/post/46724</guid><dc:creator><![CDATA[binary1zero]]></dc:creator><pubDate>Wed, 27 Apr 2022 12:50:41 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 07:26:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a> interesting scenario<br />
Not sure I understand benefits of this approach, because if it is "just" a question of addressing storage of old emails, my instinct is to think about solutions like :</p>
<ul>
<li>MailPiler (custom package available for Cloudron)</li>
<li>MailSteward (proprietary paid but affordable and solid local archiving solution)</li>
<li>imapfilter (<a href="https://github.com/lefcha/imapfilter" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lefcha/imapfilter</a>) to suck out emails and move them to storage location</li>
<li>offlineimap (<a href="http://www.offlineimap.org/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.offlineimap.org/</a> and <a href="https://www.dermitch.de/post/imap-backup-with-offlineimap/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dermitch.de/post/imap-backup-with-offlineimap/</a>)</li>
<li>various "server-suck-file-save" scripts</li>
</ul>
<p dir="auto">Maybe I am missing something in your plan but these could be simpler to implement.</p>
<p dir="auto">EDIT : could a sieve filter work to forward all incoming email to another server ?  Then just delete/purge periodically on initial receiving server after a time period.</p>
]]></description><link>https://forum.cloudron.io/post/46712</link><guid isPermaLink="true">https://forum.cloudron.io/post/46712</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Wed, 27 Apr 2022 07:26:34 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 04:11:06 GMT]]></title><description><![CDATA[<ul>
<li>mail forwarding can be configured if the internal mail server has a different domain and has open ports.</li>
<li>one could set up a private tunnel / vpn between the two and shuffle mail over to that non routing IP/domain.</li>
</ul>
<p dir="auto">The more robust approach may be to have mail backups be exported to a private Minio instance or similar. (also set up mail pruning on the DO side after some size limit)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a><br />
Can you elaborate more on this use case, as there may be a more effective way of accomplishing the need, without using SMTP for example which isn't optimal for something like this.</p>
<p dir="auto">Emails are relatively small, so if storage is an issue, that may be an overloaded use of the protocol for which better options exist.</p>
]]></description><link>https://forum.cloudron.io/post/46704</link><guid isPermaLink="true">https://forum.cloudron.io/post/46704</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 27 Apr 2022 04:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Wed, 27 Apr 2022 03:29:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a> there is no built-in solution for forwarding to another email server.</p>
<p dir="auto">This is indeed an interesting request though. I guess this allows a setup where the mail is actually stored at home? Also, if the server is at home, how will you access email when outside? Does this mean you will have the home server partially exposed to the world for mail access? In addition, on many ISPs, inbound port 25 is blocked (yes, even inbound, like in comcast).</p>
]]></description><link>https://forum.cloudron.io/post/46702</link><guid isPermaLink="true">https://forum.cloudron.io/post/46702</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 27 Apr 2022 03:29:43 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Tue, 26 Apr 2022 23:30:12 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> yes it would have both (another Cloudron or Synology mail server). Plan is users will reach out to Synology directly.</p>
]]></description><link>https://forum.cloudron.io/post/46697</link><guid isPermaLink="true">https://forum.cloudron.io/post/46697</guid><dc:creator><![CDATA[binary1zero]]></dc:creator><pubDate>Tue, 26 Apr 2022 23:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to Forward emails to remote SMTP server on Tue, 26 Apr 2022 16:40:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binary1zero" aria-label="Profile: binary1zero">@<bdi>binary1zero</bdi></a> mails are usually stored on IMAP servers and not SMTP servers. So, your internal server will have both SMTP and IMAP ? How do you plan to access incoming emails ?</p>
]]></description><link>https://forum.cloudron.io/post/46672</link><guid isPermaLink="true">https://forum.cloudron.io/post/46672</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 26 Apr 2022 16:40:17 GMT</pubDate></item></channel></rss>