<?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[Nextcloud Email with Gmail Relay]]></title><description><![CDATA[<p dir="auto">I have Cloudron set up to send emails via Gmail. The emails work perfectly for the Cloudron itself and for other apps like Matrix. But I cannot seem to get it to work for Nextcloud. The only way I can get email to work this way is if I manually change the email settings in Nextcloud, which then get overwritten on any app restart.  <a href="https://forum.cloudron.io/topic/3931/ignore-email-settings-on-nextcloud-yes">This</a> post indicates that I should just leave things as is. But I suspect that it is only if I use Cloudron to manage the email, which I can't. Am I missing something?</p>
]]></description><link>https://forum.cloudron.io/topic/5492/nextcloud-email-with-gmail-relay</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 11:48:11 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5492.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Aug 2021 08:05:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 10:29:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks for helping me work through this!</p>
]]></description><link>https://forum.cloudron.io/post/35121</link><guid isPermaLink="true">https://forum.cloudron.io/post/35121</guid><dc:creator><![CDATA[eganonoa]]></dc:creator><pubDate>Wed, 11 Aug 2021 10:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 10:27:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eganonoa" aria-label="Profile: eganonoa">@<bdi>eganonoa</bdi></a> ah! looks like that option was overlooked in the packaging or introduced at some point later in the upstream code. I will fix this for 22.1.0 package then.</p>
<p dir="auto">Thanks for digging into it!</p>
]]></description><link>https://forum.cloudron.io/post/35120</link><guid isPermaLink="true">https://forum.cloudron.io/post/35120</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 11 Aug 2021 10:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 10:26:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> It's the email encryption protocol, where you can choose either None, SSL/TLS, or STARTLS. In config.php it is:</p>
<p dir="auto">'mail_smtpauthtype' =&gt; 'PLAIN'</p>
<p dir="auto">That is not referred to in the Nextcloud-App's <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a> file, which results in it not reverting to plain if some idiot like myself went and changed that in the Nextcloud Basic Settings area!</p>
]]></description><link>https://forum.cloudron.io/post/35119</link><guid isPermaLink="true">https://forum.cloudron.io/post/35119</guid><dc:creator><![CDATA[eganonoa]]></dc:creator><pubDate>Wed, 11 Aug 2021 10:26:07 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 10:15:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eganonoa" aria-label="Profile: eganonoa">@<bdi>eganonoa</bdi></a> I am not sure which config option you are referring to, but maybe we missed one at <a href="https://git.cloudron.io/cloudron/nextcloud-app/-/blob/master/start.sh#L75" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/nextcloud-app/-/blob/master/start.sh#L75</a> then we should fix that.</p>
]]></description><link>https://forum.cloudron.io/post/35117</link><guid isPermaLink="true">https://forum.cloudron.io/post/35117</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 11 Aug 2021 10:15:03 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 09:53:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> I figured it out!  When the app restarts it overwrites nearly all, but crucially not all, email settings. The encryption protocol is not overwritten. So if, like me, you had at some point played around and, in so doing, changed encryption from None to SSL/TLS or STARTLS that will be saved even after a reboot and will, subsequently, cause the Cloudron-managed email to fail.  I never picked that up across multiple restarts because I did not know the default Cloudron email settings. Once I created a new dummy Nextcloud instance i was able to compare and see the difference in the encryption protocol.</p>
<p dir="auto">Thanks for responding so quickly on this!</p>
]]></description><link>https://forum.cloudron.io/post/35115</link><guid isPermaLink="true">https://forum.cloudron.io/post/35115</guid><dc:creator><![CDATA[eganonoa]]></dc:creator><pubDate>Wed, 11 Aug 2021 09:53:25 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 09:34:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> thanks. I think you are right it is related to some app or another. I just did a clean install of a nextcloud server under a different domain and it works perfectly. So there has to be some app that is doing this. i've not installed many, so it shouldn't be too hard to figure out.</p>
]]></description><link>https://forum.cloudron.io/post/35113</link><guid isPermaLink="true">https://forum.cloudron.io/post/35113</guid><dc:creator><![CDATA[eganonoa]]></dc:creator><pubDate>Wed, 11 Aug 2021 09:34:22 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 08:44:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eganonoa" aria-label="Profile: eganonoa">@<bdi>eganonoa</bdi></a> given that I cannot reproduce this, I suspect some Nextcloud plugin installed in your instance interferes here. Also note that the Nextcloud configs should not have anything related to gmail set, since mails would be sent out locally through the system and only the system should know about the relay.</p>
<p dir="auto">Can you check which plugins you have installed and maybe disable them. Then restart the app and check again?</p>
]]></description><link>https://forum.cloudron.io/post/35109</link><guid isPermaLink="true">https://forum.cloudron.io/post/35109</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 11 Aug 2021 08:44:31 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 08:27:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Transactional emails. It is working for all other apps, but not Nextcloud for some reason. I've tried things like Calendar invites, user emails, etc. And it just fails each time. I need to go in manually to put the actual SMTP information for Gmail and then, of course, it works (and indeed things that have been held back like old activity notifications go out!). But that gets overwritten on app restart.</p>
<p dir="auto">Everything works perfectly on all other apps managed by Cloudron as far as I can tell. So it has to be something within the Nextcloud setup.</p>
]]></description><link>https://forum.cloudron.io/post/35105</link><guid isPermaLink="true">https://forum.cloudron.io/post/35105</guid><dc:creator><![CDATA[eganonoa]]></dc:creator><pubDate>Wed, 11 Aug 2021 08:27:37 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud Email with Gmail Relay on Wed, 11 Aug 2021 08:08:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eganonoa" aria-label="Profile: eganonoa">@<bdi>eganonoa</bdi></a> are you generally referring to transactional emails sent out from Nextcloud or the mail client plugin for Nextcloud?<br />
If other apps can send out mails Nextcloud should be able to do as well, since it uses the same infrastructure then.</p>
]]></description><link>https://forum.cloudron.io/post/35103</link><guid isPermaLink="true">https://forum.cloudron.io/post/35103</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 11 Aug 2021 08:08:56 GMT</pubDate></item></channel></rss>