<?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 server - How to expose ports for internal network]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I couldn't find this question posed anywhere in the forum here (which is a little surprising as I thought it would be somewhat a common query)...</p>
<p dir="auto">Nor can I find any hints at: <a href="https://docs.cloudron.io/email/#inbound-ports" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/email/#inbound-ports</a></p>
<p dir="auto">Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.</p>
<p dir="auto">A docker inspect shows no ports are exposed (obviously). I haven't dug into where this could be changed to expose it -- and whether Cloudron would just overwrite it or not when starting up the next time.</p>
<p dir="auto">Thanks!</p>
<p dir="auto">-gregg</p>
]]></description><link>https://forum.cloudron.io/topic/7577/mail-server-how-to-expose-ports-for-internal-network</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 17:40:21 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7577.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Aug 2022 20:48:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mail server - How to expose ports for internal network on Sat, 10 Sep 2022 21:36:15 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/52916">Mail server - How to expose ports for internal network</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: ChicagoGregg">@<bdi>ChicagoGregg</bdi></a> said in <a href="/post/52730">Mail server - How to expose ports for internal network</a>:</p>
<blockquote>
<p dir="auto">Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.</p>
</blockquote>
<p dir="auto">If I understand correctly, you want to relay mail via another mail server. If so, just sent the relay using the <a href="https://docs.cloudron.io/email/#smtp-server" target="_blank" rel="noopener noreferrer nofollow ugc">External SMTP relay</a> configuration.</p>
<p dir="auto">I am not quite following the part about exposing port 25/476/587 though. These are already exposed on the server. You have to configure your router/firewall to port forward those ports to the Cloudron internal IP.</p>
</blockquote>
<p dir="auto">Sorry for the tardy reply here. Thanks for both of your replies <a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> .</p>
<p dir="auto">Originally, I was simply wanting to do something like</p>
<p dir="auto">Home Network (App sends email) -&gt; Cloudron (on home network) accepts mail for relay from local home network 10.x.x.x -&gt; sends to server through Internet connection (to my already-configured mail relay server, External w/ authentication)</p>
<p dir="auto">I was looking for an unauthenticated relay on the home network.</p>
<p dir="auto">Well, I suppose that Cloudron can't provide an unauthenticated relay point. So, I suppose the workaround is simply to configure a user and relay using authentication using a domain that is configured.</p>
<p dir="auto">I'm fine going this route... And I get why it's for that reason with security. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=21ee5037fec" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Thanks for the help!</p>
<p dir="auto">-gregg</p>
]]></description><link>https://forum.cloudron.io/post/53226</link><guid isPermaLink="true">https://forum.cloudron.io/post/53226</guid><dc:creator><![CDATA[ChicagoGregg]]></dc:creator><pubDate>Sat, 10 Sep 2022 21:36:15 GMT</pubDate></item><item><title><![CDATA[Reply to Mail server - How to expose ports for internal network on Thu, 01 Sep 2022 10:48:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: ChicagoGregg">@<bdi>ChicagoGregg</bdi></a> said in <a href="/post/52730">Mail server - How to expose ports for internal network</a>:</p>
<blockquote>
<p dir="auto">Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.</p>
</blockquote>
<p dir="auto">If I understand correctly, you want to relay mail via another mail server. If so, just sent the relay using the <a href="https://docs.cloudron.io/email/#smtp-server" target="_blank" rel="noopener noreferrer nofollow ugc">External SMTP relay</a> configuration.</p>
<p dir="auto">I am not quite following the part about exposing port 25/476/587 though. These are already exposed on the server. You have to configure your router/firewall to port forward those ports to the Cloudron internal IP.</p>
]]></description><link>https://forum.cloudron.io/post/52916</link><guid isPermaLink="true">https://forum.cloudron.io/post/52916</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 01 Sep 2022 10:48:54 GMT</pubDate></item><item><title><![CDATA[Reply to Mail server - How to expose ports for internal network on Sat, 27 Aug 2022 04:28:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chicagogregg" aria-label="Profile: ChicagoGregg">@<bdi>ChicagoGregg</bdi></a> from the docs:</p>
<blockquote>
<p dir="auto">Email can only be relayed (including same-domain emails) by authenticated users using SMTP/STARTTLS.</p>
</blockquote>
<p dir="auto">So no, you have to use SMTP in order to send out mails. Not having all services and ports exposed (besides the ones on <a href="https://docs.cloudron.io/security/#inbound-ports" target="_blank" rel="noopener noreferrer nofollow ugc">this list</a>) is kinda vital to the overall security of Cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/52733</link><guid isPermaLink="true">https://forum.cloudron.io/post/52733</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Sat, 27 Aug 2022 04:28:40 GMT</pubDate></item></channel></rss>