<?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[email: autoconfig for autoconfiguration (example: via thunderbird)]]></title><description><![CDATA[<p dir="auto">Hi guys, I'm a standard cloudron subscription user.</p>
<p dir="auto">I've just set up emails using cloudron everything worked perfectly. I had to setup email server and experienced the pain it can be to have everything working smoothly and secure. Thank you so much for taking car of all the hassle with the cloudron, it's amazing <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">Question: I'm using Thunderbird and it was not able to automatically detect cloudron settings, I had to set it up manually. i'm tech savvy so it's fine by me, it won't be the same though for family and friends.</p>
<p dir="auto">Is there any chance that you would add autoconfig to the email part of cloudron so that thunderbird (and equivalent mail client) would automatically find the configuration?</p>
]]></description><link>https://forum.cloudron.io/topic/1816/email-autoconfig-for-autoconfiguration-example-via-thunderbird</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 02:25:54 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/1816.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Jun 2019 17:47:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Mon, 20 Oct 2025 14:09:55 GMT]]></title><description><![CDATA[<p dir="auto">As far as I understood this, thunderbird maintains an ISP database mainly. So once a domain was manually configured in any thunderbird, subsequent account setups will have the server addresses auto "discovered" from that database.</p>
]]></description><link>https://forum.cloudron.io/post/114121</link><guid isPermaLink="true">https://forum.cloudron.io/post/114121</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 20 Oct 2025 14:09:55 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 13 Mar 2024 22:01:23 GMT]]></title><description><![CDATA[<p dir="auto">oh that might be my problem, none of my apps are in the bare domain. I'll add one and retest</p>
<p dir="auto">EDIT: Tests fine now, thanks!</p>
]]></description><link>https://forum.cloudron.io/post/84982</link><guid isPermaLink="true">https://forum.cloudron.io/post/84982</guid><dc:creator><![CDATA[AartJansen]]></dc:creator><pubDate>Wed, 13 Mar 2024 22:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 13 Mar 2024 10:35:00 GMT]]></title><description><![CDATA[<p dir="auto">I quickly re-tested this in my thunderbird. As <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said, you must have an app in the email domain for this to work.</p>
<p dir="auto"><img src="/assets/uploads/files/1710326025196-3ad964bd-935a-4fa7-a1b5-1ecf97ee1257-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/84936</link><guid isPermaLink="true">https://forum.cloudron.io/post/84936</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 13 Mar 2024 10:35:00 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 13 Mar 2024 10:17:57 GMT]]></title><description><![CDATA[<p dir="auto">Is the main domain (for example <a href="http://domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">domain.com</a>, when your Cloudron runs on <a href="http://my.domain.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.domain.com</a>) pointing to your Cloudron also and is served up correctly?</p>
<p dir="auto">See <a href="https://docs.cloudron.io/email/#autodiscover" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/email/#autodiscover</a></p>
]]></description><link>https://forum.cloudron.io/post/84919</link><guid isPermaLink="true">https://forum.cloudron.io/post/84919</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 13 Mar 2024 10:17:57 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 13 Mar 2024 03:54:59 GMT]]></title><description><![CDATA[<p dir="auto">I realize this is an old thread, but is the autodiscover meant to "just work" for thunderbird ? I just tried it and it "failed to find the settings for your email account"<br />
This was over the LAN. I just tried it over the internet, withthe same result.<br />
I also ran the curl command on both clients, and it reported "not found" no such route.<br />
I clicked the sync DNS, and waited for a while and tried again with the same result.</p>
]]></description><link>https://forum.cloudron.io/post/84917</link><guid isPermaLink="true">https://forum.cloudron.io/post/84917</guid><dc:creator><![CDATA[AartJansen]]></dc:creator><pubDate>Wed, 13 Mar 2024 03:54:59 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 06 Feb 2021 19:31:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hakunamatata" aria-label="Profile: hakunamatata">@<bdi>hakunamatata</bdi></a> Ah, I had put that "note" in <a href="https://docs.cloudron.io/domains/#matrix-server-location" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/domains/#matrix-server-location</a> but forgot to put the same note for email configuration. Will do so, thanks.</p>
]]></description><link>https://forum.cloudron.io/post/25050</link><guid isPermaLink="true">https://forum.cloudron.io/post/25050</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 06 Feb 2021 19:31:51 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 06 Feb 2021 19:17:19 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/25042">email: autoconfig for autoconfiguration (example: via thunderbird)</a>:</p>
<blockquote>
<p dir="auto">curl -v <a href="https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml" target="_blank" rel="noopener noreferrer nofollow ugc">https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml</a></p>
</blockquote>
<p dir="auto">That seems to have done the trick. Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/25047</link><guid isPermaLink="true">https://forum.cloudron.io/post/25047</guid><dc:creator><![CDATA[hakunamatata]]></dc:creator><pubDate>Sat, 06 Feb 2021 19:17:19 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 06 Feb 2021 18:43:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hakunamatata" aria-label="Profile: hakunamatata">@<bdi>hakunamatata</bdi></a> Can you try this <code>curl -v https://domain.com/.well-known/autoconfig/mail/config-v1.1.xml</code>. If that returns a 404, can you go the bare domain app's Location view and click save (no need to make any changes) and then run the curl again?</p>
]]></description><link>https://forum.cloudron.io/post/25042</link><guid isPermaLink="true">https://forum.cloudron.io/post/25042</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 06 Feb 2021 18:43:19 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 06 Feb 2021 18:39:40 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> I have an app installed on the bare domain as per the docs, however autoconfig is still not working on my end.</p>
<p dir="auto">Is there supposed to be a setting  that I need to enable in domains &gt; advanced ? Because I don't see anything related to this in the settings.</p>
]]></description><link>https://forum.cloudron.io/post/25041</link><guid isPermaLink="true">https://forum.cloudron.io/post/25041</guid><dc:creator><![CDATA[hakunamatata]]></dc:creator><pubDate>Sat, 06 Feb 2021 18:39:40 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 06 Feb 2021 14:55:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hakunamatata" aria-label="Profile: hakunamatata">@<bdi>hakunamatata</bdi></a> yes, it's migrated to the database now. The email auto configuration is also automatic. You can find settings in domains -&gt; advanced</p>
]]></description><link>https://forum.cloudron.io/post/25023</link><guid isPermaLink="true">https://forum.cloudron.io/post/25023</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 06 Feb 2021 14:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 06 Feb 2021 13:48:29 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> my server updated to 6.1.2 last night and the autoconfig doesn't seem to be working. /home/yellowtent/boxdata/well-known/ is empty.</p>
]]></description><link>https://forum.cloudron.io/post/25019</link><guid isPermaLink="true">https://forum.cloudron.io/post/25019</guid><dc:creator><![CDATA[hakunamatata]]></dc:creator><pubDate>Sat, 06 Feb 2021 13:48:29 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Fri, 29 Jan 2021 16:44:15 GMT]]></title><description><![CDATA[<p dir="auto">Super! Thanks everyone!</p>
]]></description><link>https://forum.cloudron.io/post/24378</link><guid isPermaLink="true">https://forum.cloudron.io/post/24378</guid><dc:creator><![CDATA[hakunamatata]]></dc:creator><pubDate>Fri, 29 Jan 2021 16:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Fri, 29 Jan 2021 14:03:20 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> great stuff, thanks! <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>
]]></description><link>https://forum.cloudron.io/post/24362</link><guid isPermaLink="true">https://forum.cloudron.io/post/24362</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 29 Jan 2021 14:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Fri, 29 Jan 2021 01:13:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hakunamatata" aria-label="Profile: hakunamatata">@<bdi>hakunamatata</bdi></a> I have automated the mail autoconfig for all domains. It's part of 6.1.2. Should be out next week.</p>
<p dir="auto"><a href="https://git.cloudron.io/cloudron/box/-/commit/ef68cb70c07f2abd524879aef70930b572f48917" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/ef68cb70c07f2abd524879aef70930b572f48917</a></p>
]]></description><link>https://forum.cloudron.io/post/24311</link><guid isPermaLink="true">https://forum.cloudron.io/post/24311</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 29 Jan 2021 01:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Thu, 28 Jan 2021 19:32:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> said in <a href="/post/24182">email: autoconfig for autoconfiguration (example: via thunderbird)</a>:</p>
<blockquote>
<p dir="auto">This looks like it should simply be a checkbox in the UI, and Cloudron manages the ~yellowtent/boxdata/well-known/&lt;domains&gt; hierarchy.</p>
</blockquote>
<p dir="auto">Yes, correct. Except I broke this because I completely forgot about autoconfig well known support and only implemented mastodon and matrix <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /> Will get it fixed for 6.1.2.</p>
]]></description><link>https://forum.cloudron.io/post/24286</link><guid isPermaLink="true">https://forum.cloudron.io/post/24286</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Jan 2021 19:32:55 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Thu, 28 Jan 2021 19:32:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hakunamatata" aria-label="Profile: hakunamatata">@<bdi>hakunamatata</bdi></a> said in <a href="/post/24137">email: autoconfig for autoconfiguration (example: via thunderbird)</a>:</p>
<blockquote>
<p dir="auto">Do I create a similar config-v1.1.xml files on <a href="http://autoconfig.domain2.com" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.domain2.com</a>, <a href="http://autoconfig.domain3.com" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.domain3.com</a> etc or can I somehow edit the <a href="http://autoconfig.domain1.com/mail/config-v1.1.xml" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.domain1.com/mail/config-v1.1.xml</a> to include the additional domains?</p>
</blockquote>
<p dir="auto">My understanding is that you have to create separate configs i.e your former suggestion. After all, there is no way of knowing domain2's autoconfig is in domain1.</p>
]]></description><link>https://forum.cloudron.io/post/24285</link><guid isPermaLink="true">https://forum.cloudron.io/post/24285</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Jan 2021 19:32:03 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 27 Jan 2021 19:45:03 GMT]]></title><description><![CDATA[<p dir="auto">This looks like it should simply be a checkbox in the UI, and Cloudron manages the ~yellowtent/boxdata/well-known/&lt;domains&gt; hierarchy.</p>
<p dir="auto">Was that the plan <a class="plugin-mentions-group plugin-mentions-a" href="/groups/staff" aria-label="Profile: staff">@<bdi>staff</bdi></a> ?</p>
]]></description><link>https://forum.cloudron.io/post/24182</link><guid isPermaLink="true">https://forum.cloudron.io/post/24182</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 27 Jan 2021 19:45:03 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 27 Jan 2021 19:43:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hakunamatata" aria-label="Profile: hakunamatata">@<bdi>hakunamatata</bdi></a> they would be separate. Hence the use of the first method may be better for a multi-domain setup.</p>
]]></description><link>https://forum.cloudron.io/post/24181</link><guid isPermaLink="true">https://forum.cloudron.io/post/24181</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 27 Jan 2021 19:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Wed, 27 Jan 2021 08:53:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello, I have followed the instructions in the cloudron documentation and successfully set up autoconfig for my primary domain (<a href="http://domain1.com" target="_blank" rel="noopener noreferrer nofollow ugc">domain1.com</a>).  Thanks for that!</p>
<p dir="auto">I am also hosting other domains (<a href="http://domain2.com" target="_blank" rel="noopener noreferrer nofollow ugc">domain2.com</a>, <a href="http://domain3.com" target="_blank" rel="noopener noreferrer nofollow ugc">domain3.com</a>), on my cloudron server and was wondering how I could set autoconfig for them as well.</p>
<p dir="auto">Do I create a similar config-v1.1.xml files on <a href="http://autoconfig.domain2.com" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.domain2.com</a>, <a href="http://autoconfig.domain3.com" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.domain3.com</a> etc or can I somehow edit the <a href="http://autoconfig.domain1.com/mail/config-v1.1.xml" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.domain1.com/mail/config-v1.1.xml</a> to include the additional domains?</p>
]]></description><link>https://forum.cloudron.io/post/24137</link><guid isPermaLink="true">https://forum.cloudron.io/post/24137</guid><dc:creator><![CDATA[hakunamatata]]></dc:creator><pubDate>Wed, 27 Jan 2021 08:53:26 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sun, 30 Aug 2020 14:59:15 GMT]]></title><description><![CDATA[<p dir="auto">Very nice to see this finally beeing resolved and documentated. Thank you a lot <a class="plugin-mentions-user plugin-mentions-a" href="/user/valkalon" aria-label="Profile: valkalon">@<bdi>valkalon</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> <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>
]]></description><link>https://forum.cloudron.io/post/12621</link><guid isPermaLink="true">https://forum.cloudron.io/post/12621</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Sun, 30 Aug 2020 14:59:15 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sun, 30 Aug 2020 10:35:27 GMT]]></title><description><![CDATA[<p dir="auto">Awesome Girish thanks a lot !</p>
]]></description><link>https://forum.cloudron.io/post/12620</link><guid isPermaLink="true">https://forum.cloudron.io/post/12620</guid><dc:creator><![CDATA[valkalon]]></dc:creator><pubDate>Sun, 30 Aug 2020 10:35:27 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sat, 29 Aug 2020 18:19:55 GMT]]></title><description><![CDATA[<p dir="auto">I have put instructions how to setup autoconfig for Thunderbird and Outlook here - <a href="https://cloudron.io/documentation/email/#autodiscover" target="_blank" rel="noopener noreferrer nofollow ugc">https://cloudron.io/documentation/email/#autodiscover</a> . I tested Thunderbird and that works well. I couldn't test Outlook because it seems old Outlook is not downloadable anymore and Outlook 365 uses some undocumented autodiscover.json method these days.</p>
]]></description><link>https://forum.cloudron.io/post/12618</link><guid isPermaLink="true">https://forum.cloudron.io/post/12618</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 29 Aug 2020 18:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to email: autoconfig for autoconfiguration (example: via thunderbird) on Sun, 23 Jun 2019 17:39:14 GMT]]></title><description><![CDATA[<p dir="auto">I had autoconfig setup for business emails before cloudron. Here is the process I used:</p>
<p dir="auto">Let's say you have the following domains:<br />
<strong><a href="http://test.com" target="_blank" rel="noopener noreferrer nofollow ugc">test.com</a></strong>: The domain for which you want to have email autoconfig<br />
<strong><a href="http://my.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.test.com</a></strong>: The URL of your cloudron server that manages your email and will broadcast the autoconfig configuration.</p>
<h2>setup DNS entries in the <a href="http://test.com" target="_blank" rel="noopener noreferrer nofollow ugc">test.com</a> DNS</h2>
<p dir="auto">// entry for outlook (never tested since I only use thunderbird)<br />
_autodiscover._tcp 600 IN SRV 0 0 443 <a href="http://my.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.test.com</a><br />
// entry for thunderbird and others<br />
autoconfig 600 IN CNAME <a href="http://my.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.test.com</a><br />
smtp 600 IN CNAME <a href="http://my.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.test.com</a><br />
imap 600 IN CNAME <a href="http://my.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">my.test.com</a></p>
<p dir="auto">// <a href="http://autoconfig.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.test.com</a> does not need an SSL certificate<br />
// <a href="http://smtp.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">smtp.test.com</a>, <a href="http://imap.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">imap.test.com</a> must have an active SSL certificate</p>
<h2>Create the mail directory and autoconfig file</h2>
<p dir="auto">in the webroot for <a href="http://autoconfig.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">autoconfig.test.com</a> create the file</p>
<p dir="auto">mail/config-v1.1.xml</p>
<h2>Content of mail/config-v1.1.xml</h2>
<p dir="auto">// Here is a sample:</p>
<pre><code class="language-xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;clientConfig version="1.1"&gt;
  &lt;emailProvider id="my.test.com"&gt;
    &lt;domain&gt;test.com&lt;/domain&gt; 
    &lt;domain&gt;another-domain.com&lt;/domain&gt;
    &lt;displayName&gt;test.com&lt;/displayName&gt;
    &lt;displayShortName&gt;Test&lt;/displayShortName&gt;
    &lt;incomingServer type="imap"&gt;
      &lt;hostname&gt;imap.test.com&lt;/hostname&gt;
      &lt;port&gt;993&lt;/port&gt;
      &lt;socketType&gt;SSL&lt;/socketType&gt;
      &lt;authentication&gt;password-cleartext&lt;/authentication&gt;
      &lt;username&gt;%EMAILADDRESS%&lt;/username&gt;
    &lt;/incomingServer&gt;
    &lt;outgoingServer type="smtp"&gt;
      &lt;hostname&gt;smtp.test.com&lt;/hostname&gt;
      &lt;port&gt;587&lt;/port&gt;
      &lt;socketType&gt;STARTTLS&lt;/socketType&gt;
      &lt;authentication&gt;password-cleartext&lt;/authentication&gt;
      &lt;username&gt;%EMAILADDRESS%&lt;/username&gt;
    &lt;/outgoingServer&gt;
  &lt;/emailProvider&gt;
&lt;/clientConfig&gt;
</code></pre>
<h2>Nginx config</h2>
<p dir="auto">since autoconfig does not require any SSL certificate you can setup any autoconfig request to match the same config file. For cloudron it might be better to have one config file per domain?</p>
<pre><code class="language-nginx">server {
  listen 80;
  server_name
  autoconfig.*;

  root /var/www/autoconfig.test.com;
  access_log /var/log/nginx/autoconfig.test.com/access.log;
  error_log /var/log/nginx/autoconfig.test.com/error.log warn;

  location / {
    try_files $uri $uri/;
  }
}
</code></pre>
<h2>Aside note</h2>
<p dir="auto">in theory you should be able to not use <a href="http://imap.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">imap.test.com</a> and <a href="http://smtp.test.com" target="_blank" rel="noopener noreferrer nofollow ugc">smtp.test.com</a>, in practice though, I had trouble with thunderbird not recognizing the autoconfig without those 2 domains setup (it was 1 year ago, maybe it changed since)</p>
<p dir="auto">Hope it helps! I'll be happy to assist implementing if interested <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/3842</link><guid isPermaLink="true">https://forum.cloudron.io/post/3842</guid><dc:creator><![CDATA[valkalon]]></dc:creator><pubDate>Sun, 23 Jun 2019 17:39:14 GMT</pubDate></item></channel></rss>