<?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[Unable to setup a functional SMTP account with local cloudron mailbox]]></title><description><![CDATA[<p dir="auto">Hello everyone,</p>
<p dir="auto">I am currently trying to setup a send email node in n8n.<br />
I have done what was <a href="https://forum.cloudron.io/topic/5444/documentation-request-sending-email-from-n8n/6">suggested here</a> and I created a specific user for this. I have also setup a mailbox associated to that user.</p>
<p dir="auto">Outbound emails work fine already with any apps (relay through mailjet).<br />
I have added the new user email as a sender in mailjet config.</p>
<p dir="auto">I have used the credentials from that new user to setup the n8n SMTP account.<br />
I use port 587 and mail.&lt;domain&gt;  as the host.<br />
SSL is disabled and STARTTLS is enabled.</p>
<p dir="auto">I have also added the client host name as the n8n hostname.</p>
<p dir="auto">Is there a better way to do this now? (this linked post is from 2021, so maybe this information is outdated).<br />
Is there something I missed?</p>
<p dir="auto">Thank you all for your help</p>
]]></description><link>https://forum.cloudron.io/topic/14710/unable-to-setup-a-functional-smtp-account-with-local-cloudron-mailbox</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 01:46:22 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14710.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Dec 2025 23:22:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Wed, 31 Dec 2025 20:11:52 GMT]]></title><description><![CDATA[<p dir="auto">Ok, so after looking into open ports a bit more, it turns out that there is nothing listening on port 587. As such, there is no SMTP server running or listening to any port whatsoever. I figure that an SMTP server may only start running if I enable incoming emails (setting which was not enabled, purposefully). When I enabled incoming email setting, <code>sudo netstat -tlnp | grep 587</code> was finally returning something and n8n configuration worked fine.</p>
<p dir="auto">So to sum up, if my understanding is correct, when only using outbound mail, there isn't an actual SMTP server running, but only some kind of abstraction that containerized apps can use to send email directly through the mail relay (the internals of this are fuzzy to me...), so I need to enable incoming emails in order to send emails... <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">But I'm glad I was at least able to make this work before going into 2026. Thanks for the help and for putting me on the right path here.</p>
<p dir="auto">Thank you for all the great work you do Cloudron Team, and wishing you all the best for the new year :).</p>
]]></description><link>https://forum.cloudron.io/post/117791</link><guid isPermaLink="true">https://forum.cloudron.io/post/117791</guid><dc:creator><![CDATA[overclockmp]]></dc:creator><pubDate>Wed, 31 Dec 2025 20:11:52 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Wed, 31 Dec 2025 18:19:39 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. I shall investigate the host OS iptables config then.<br />
The thing that I fail to understand is that other apps seem to be able to send emails without any issues, through that mailjet relay. So I don't quite understand what's different here with this current configuration in n8n. My apologies if I am missing something very trivial here...</p>
]]></description><link>https://forum.cloudron.io/post/117789</link><guid isPermaLink="true">https://forum.cloudron.io/post/117789</guid><dc:creator><![CDATA[overclockmp]]></dc:creator><pubDate>Wed, 31 Dec 2025 18:19:39 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Tue, 30 Dec 2025 09:45:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/overclockmp" aria-label="Profile: overclockmp">@<bdi>overclockmp</bdi></a> so the problem is that connection to port 587 is not working. This is not a DNS problem (from what I can tell). You can try <code>telnet 192.168.1.3 587</code> . This is not working and it's some networking issue in your set up. Maybe the VM/hypervisor settings should allow port 587 to be looped back?</p>
]]></description><link>https://forum.cloudron.io/post/117714</link><guid isPermaLink="true">https://forum.cloudron.io/post/117714</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Tue, 30 Dec 2025 09:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Sat, 27 Dec 2025 16:48:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a>, here is a redacted screenshot that should match my description at the beginning of this thread:</p>
<p dir="auto"><img src="/assets/uploads/files/1766853996763-742d9edb-e7fc-4770-91d5-bd880cab3fe7-image-resized.png" alt="742d9edb-e7fc-4770-91d5-bd880cab3fe7-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/117603</link><guid isPermaLink="true">https://forum.cloudron.io/post/117603</guid><dc:creator><![CDATA[overclockmp]]></dc:creator><pubDate>Sat, 27 Dec 2025 16:48:55 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Sat, 27 Dec 2025 16:51:36 GMT]]></title><description><![CDATA[<p dir="auto">Apologies for the delay, I must have missed the notification with the holidays. Thanks for your answer.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a>,</p>
<blockquote>
<p dir="auto">Can you ping/host/dig <a href="http://mail.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">mail.domain.com</a>?</p>
</blockquote>
<p dir="auto">Yes, using <code>dig</code> from n8n web terminal:</p>
<pre><code class="language-shell"># dig mail.domain.com
; &lt;&lt;&gt;&gt; DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu &lt;&lt;&gt;&gt; mail.domain.com
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 27695
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;mail.domain.com.               IN      A

;; ANSWER SECTION:
mail.domain.com.        0       IN      CNAME   my.domain.com.
my.domain.com.  0       IN      A       192.168.1.3

;; Query time: 44 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Sat Dec 27 16:19:45 UTC 2025
;; MSG SIZE  rcvd: 81
</code></pre>
<p dir="auto">Using <code>host</code> from n8n web terminal:</p>
<pre><code class="language-shell"># host mail.domain.com
mail.domain.com is an alias for my.domain.com.
my.domain.com has address 192.168.1.3
my.domain.com has IPv6 address 2606:4700:130:436c:6f75:6466:6c61:7265
</code></pre>
<blockquote>
<p dir="auto">Can you telnet <a href="http://mail.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">mail.domain.com</a> 587?</p>
</blockquote>
<p dir="auto">No, it hangs and times out on the web terminal and connection is refused through ssh:</p>
<pre><code class="language-shell"># telnet mail.domain.com 587
Trying 192.168.1.3...
Connection failed: Connection timed out
Trying 2606:4700:130:436c:6f75:6466:6c61:7265...
telnet: Unable to connect to remote host: Network is unreachable
</code></pre>
<p dir="auto">It is probably worth noting that I am using a pihole as local DNS. Not sure if it has any impact...</p>
]]></description><link>https://forum.cloudron.io/post/117602</link><guid isPermaLink="true">https://forum.cloudron.io/post/117602</guid><dc:creator><![CDATA[overclockmp]]></dc:creator><pubDate>Sat, 27 Dec 2025 16:51:36 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Mon, 22 Dec 2025 09:57:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/overclockmp" aria-label="Profile: overclockmp">@<bdi>overclockmp</bdi></a> said in <a href="/post/116943">Unable to setup a functional SMTP account with local cloudron mailbox</a>:</p>
<blockquote>
<p dir="auto">Running the command above with --server <a href="http://mail.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">mail.domain.com</a>, I get "Network Unreachable".<br />
Running it with --server <a href="http://my.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.domain.com</a>, I get "Connection Timeout".</p>
</blockquote>
<p dir="auto">I would start here... Can you ping/host/dig <a href="http://mail.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">mail.domain.com</a> ? Can you <code>telnet mail.domain.com 587</code> ?</p>
]]></description><link>https://forum.cloudron.io/post/117427</link><guid isPermaLink="true">https://forum.cloudron.io/post/117427</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 22 Dec 2025 09:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Sat, 20 Dec 2025 14:07:16 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/overclockmp" aria-label="Profile: overclockmp">@<bdi>overclockmp</bdi></a><br />
Could you please share a screenshot of your N8N configuration for SMTP?</p>
]]></description><link>https://forum.cloudron.io/post/117368</link><guid isPermaLink="true">https://forum.cloudron.io/post/117368</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Sat, 20 Dec 2025 14:07:16 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Sat, 20 Dec 2025 13:45:59 GMT]]></title><description><![CDATA[<p dir="auto">Hello <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44b.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--wave" style="height:23px;width:auto;vertical-align:middle" title="👋" alt="👋" />, just following up here to see if there are any other ideas...<br />
Thanks for the help</p>
]]></description><link>https://forum.cloudron.io/post/117367</link><guid isPermaLink="true">https://forum.cloudron.io/post/117367</guid><dc:creator><![CDATA[overclockmp]]></dc:creator><pubDate>Sat, 20 Dec 2025 13:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Sat, 13 Dec 2025 04:19:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a>, thanks for the assistance.<br />
Running the command above with <code>--server mail.domain.com</code>, I get "Network Unreachable".<br />
Running it with <code>--server my.domain.com</code>, I get "Connection Timeout".<br />
Under Email &gt; Domain &gt; Status, the outbound SMTP is green.</p>
<p dir="auto">The more I look into this, the more it seems that I would have to use mailjet directly instead of going through the outbound SMTP, but I am not sure if it's a good approach.</p>
]]></description><link>https://forum.cloudron.io/post/116943</link><guid isPermaLink="true">https://forum.cloudron.io/post/116943</guid><dc:creator><![CDATA[overclockmp]]></dc:creator><pubDate>Sat, 13 Dec 2025 04:19:46 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to setup a functional SMTP account with local cloudron mailbox on Fri, 12 Dec 2025 07:45:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/overclockmp" aria-label="Profile: overclockmp">@<bdi>overclockmp</bdi></a> I would say first test using <code>swaks</code>. Open a web terminal and use swaks to test your credentials. Something like:</p>
<pre><code>swaks --server my.domain.com -p 587 --from "from@domain.com" --body "Test mail" --auth-user "from@domain.com" --auth-password "password"
</code></pre>
]]></description><link>https://forum.cloudron.io/post/116849</link><guid isPermaLink="true">https://forum.cloudron.io/post/116849</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Fri, 12 Dec 2025 07:45:08 GMT</pubDate></item></channel></rss>