<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.2clever.uk/index.php?action=history&amp;feed=atom&amp;title=SMEServer_AutoDiscover</id>
	<title>SMEServer AutoDiscover - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.2clever.uk/index.php?action=history&amp;feed=atom&amp;title=SMEServer_AutoDiscover"/>
	<link rel="alternate" type="text/html" href="https://wiki.2clever.uk/index.php?title=SMEServer_AutoDiscover&amp;action=history"/>
	<updated>2026-08-27T02:29:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.2clever.uk/index.php?title=SMEServer_AutoDiscover&amp;diff=127&amp;oldid=prev</id>
		<title>Rdswikiadmin: Created page with &quot;Copied from; https://wiki.koozali.org/Autodiscover (last changed; 9 June 2026)  {{Languages}} &lt;!-- here we define the contrib name variable --&gt; &lt;!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want--&gt; {{#vardefine:contribname| {{lc: {{#titleparts:   {{BASEPAGENAME}} |1}} }} }} {{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:   {{BASEPAGENAME}} |1}} }} }} &lt;!-- we define the language --&gt; {{#varde...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.2clever.uk/index.php?title=SMEServer_AutoDiscover&amp;diff=127&amp;oldid=prev"/>
		<updated>2026-08-13T08:28:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Copied from; https://wiki.koozali.org/Autodiscover (last changed; 9 June 2026)  {{Languages}} &amp;lt;!-- here we define the contrib name variable --&amp;gt; &amp;lt;!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want--&amp;gt; {{#vardefine:contribname| {{lc: {{#titleparts:   {{BASEPAGENAME}} |1}} }} }} {{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:   {{BASEPAGENAME}} |1}} }} }} &amp;lt;!-- we define the language --&amp;gt; {{#varde...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Copied from; https://wiki.koozali.org/Autodiscover (last changed; 9 June 2026)&lt;br /&gt;
&lt;br /&gt;
{{Languages}}&lt;br /&gt;
&amp;lt;!-- here we define the contrib name variable --&amp;gt;&lt;br /&gt;
&amp;lt;!-- we get the page title, remove suffix for translated version; if needed you can define there with the value you want--&amp;gt;&lt;br /&gt;
{{#vardefine:contribname| {{lc: {{#titleparts:   {{BASEPAGENAME}} |1}} }} }}&lt;br /&gt;
{{#vardefine:smecontribname| smeserver-{{lc: {{#titleparts:   {{BASEPAGENAME}} |1}} }} }}&lt;br /&gt;
&amp;lt;!-- we define the language --&amp;gt;&lt;br /&gt;
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}&lt;br /&gt;
{{Infobox contribs&lt;br /&gt;
|name={{#var:contribname}}&lt;br /&gt;
|image={{#var:contribname}}.jpg&lt;br /&gt;
|description_image= {{#var:contribname}} logo&lt;br /&gt;
|maintainer= Unnilennium&lt;br /&gt;
|licence= GPL&lt;br /&gt;
|url= https://wiki.koozali.org/Autodiscover&lt;br /&gt;
|category= Mail&lt;br /&gt;
|tags=autodiscover,Email,POP3,POP3S,IMAP,IMAPS,SMTP,autoconfig,config-v1.1.xml&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Maintainer===&lt;br /&gt;
&amp;lt;!-- here you need to file your username and name --&amp;gt;&lt;br /&gt;
[[User:Unnilennium|Jean-Philippe Pialasse]] &lt;br /&gt;
&lt;br /&gt;
=== Version ===&lt;br /&gt;
&amp;lt;!-- keep this first element as is, you can add some if needed --&amp;gt;&lt;br /&gt;
{{#smeversion: {{#var:smecontribname}} }}&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This contribs will deploy Microsoft Autodiscover and Mozilla autoconfig to configure your IMAP POP and SMTP accoutn to your mails clients.  &lt;br /&gt;
Plan is to also support creation of apple configuration file in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
prerequisite you need a valid SSL certificate, redirection might fails if https uses a non valid certificate, try [[Letsencrypt]]&lt;br /&gt;
&amp;lt;tabs container&amp;gt;&lt;br /&gt;
&amp;lt;tab name=&amp;quot;For SME 11&amp;quot;&amp;gt;&lt;br /&gt;
 dnf install {{#var:smecontribname}}&lt;br /&gt;
&amp;lt;/tab&amp;gt;&lt;br /&gt;
&amp;lt;tab name=&amp;quot;For SME 10&amp;quot;&amp;gt;&lt;br /&gt;
 yum --enablerepo=smecontribs install {{#var:smecontribname}}&lt;br /&gt;
&amp;lt;/tab&amp;gt;&lt;br /&gt;
&amp;lt;/tabs&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
====Client Side ====&lt;br /&gt;
===== Mozilla compatible products =====&lt;br /&gt;
Thunderbird, Evolution and any software compatible with the Mozilla Thunderbird .well-known/autoconfig/mail/config-v1.1.xml config file will work by just filling your email and password.&lt;br /&gt;
&lt;br /&gt;
===== Outlook before 2016 =====&lt;br /&gt;
Will also work out of the box by just filling your email and password.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Outlook  2016 =====&lt;br /&gt;
Out of the box, it does not support IMAP POP3 and SMTP autodiscover, but only exchange type server. There are two methods you can use to workaround that.&lt;br /&gt;
First is using the old style outlook profile configurator&lt;br /&gt;
 C:\Program Files (x86)\Microsoft Office\root\Office16\OLCFG.EXE&lt;br /&gt;
then button email accounts&lt;br /&gt;
or &lt;br /&gt;
 C:\Program Files\Microsoft Office\root\Office16\OLCFG.EXE&lt;br /&gt;
then button email accounts&lt;br /&gt;
&lt;br /&gt;
Second would be to force Outlook to use old detection configuration by manipulating Registry, as a priviledged user run in a windows shell:&lt;br /&gt;
 reg add &amp;quot;HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\setup /T REG_DWORD /F /V DisableOffice365SimplifiedAccountCreation /D 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===== Outlook  2019 =====&lt;br /&gt;
Out of the box, it does not support IMAP POP3 and SMTP autodiscover, but only exchange type server.&lt;br /&gt;
You will need to enable old Outlook 2016 accounts.&lt;br /&gt;
see : https://wiki.contribs.org/Email#Outlook_365_.2F_Outlook_2019_IMAP_Configuration&lt;br /&gt;
&lt;br /&gt;
alternatively the Outlook 2016 should work&lt;br /&gt;
 C:\Program Files (x86)\Microsoft Office\root\Office19\OLCFG.EXE&lt;br /&gt;
then button email accounts&lt;br /&gt;
or &lt;br /&gt;
 C:\Program Files\Microsoft Office\root\Office19\OLCFG.EXE&lt;br /&gt;
then button email accounts&lt;br /&gt;
&lt;br /&gt;
Second would be to force Outlook to use old detection configuration by manipulating Registry, as a priviledged user run in a windows shell:&lt;br /&gt;
 reg add HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\19.0\Outlook\setup /T REG_DWORD /F /V DisableOffice365SimplifiedAccountCreation /D 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===== Outlook 365 =====&lt;br /&gt;
Need testing,, does not support IMAP POP3 and SMTP autodiscover. Only exchange type server.&lt;br /&gt;
&lt;br /&gt;
===== Outlook for Android =====&lt;br /&gt;
Need testing, but mostly work as Outlook 365.&lt;br /&gt;
&lt;br /&gt;
===== Apple products =====&lt;br /&gt;
see bug https://bugs.koozali.org/show_bug.cgi?id=12100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====DNS SRV Record alternate method====&lt;br /&gt;
smtp&lt;br /&gt;
 _smtp._tcp     SRV 0 1 25 mail.example.com.&lt;br /&gt;
smtps&lt;br /&gt;
 _smtps._tcp     SRV 0 1 465 mail.example.com.&lt;br /&gt;
submission (not in use on SME)&lt;br /&gt;
 _submission._tcp     SRV 0 1 587 mail.example.com.&lt;br /&gt;
imap&lt;br /&gt;
 _imap._tcp     SRV 0 1 143 imap.example.com.&lt;br /&gt;
 _imaps._tcp    SRV 0 1 993 imap.example.com.&lt;br /&gt;
pop3&lt;br /&gt;
 _pop3._tcp     SRV 0 1 110 pop3.example.com.&lt;br /&gt;
 _pop3s._tcp    SRV 0 1 995 pop3.example.com.&lt;br /&gt;
{{Note box|Cladav and cardav are not yet implemented for thunderbird xml autoconfig. It relies on RFC 6764, meaning only way is to use th SRV records.}}&lt;br /&gt;
caldav with or without TLS , could use a TXT field too, if no txt value is present then client will check /.well-known/caldav&lt;br /&gt;
 _caldav._tcp     SRV 0 1 80 calendar.example.com.&lt;br /&gt;
 _caldavs._tcp    SRV 0 1 443 calendar.example.com.&lt;br /&gt;
 _caldav._tcp    TXT path=/caldav&lt;br /&gt;
 _caldavs._tcp    TXT path=/caldav&lt;br /&gt;
&lt;br /&gt;
cardav ,  could use a TXT field too, if no txt value is present then client will check /.well-known/cardav&lt;br /&gt;
 _cardav._tcp     SRV 0 1 80 calendar.example.com.&lt;br /&gt;
 _cardavs._tcp    SRV 0 1 443 calendar.example.com.&lt;br /&gt;
 _cardav._tcp    TXT path=/caldav&lt;br /&gt;
 _cardavs._tcp   TXT path=/caldav&lt;br /&gt;
&lt;br /&gt;
==== DNS and file for MTA-STS and TLS-RPT ====&lt;br /&gt;
as you are there you can inform the worl you use along side with DKIM, SPF and DMARC properly configured this. See &lt;br /&gt;
&lt;br /&gt;
create a subdomain  &amp;#039;&amp;#039;mta-sts.yourdomain.com , make it point to your server, and set [[Letsencrypt|Let&amp;#039;s Encrypt]] to create a certificate for it&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
fill the content  of the file /home/e-smith/files/ibays/Primary/&amp;#039;&amp;#039;.well-known/mta-sts.txt with&amp;#039;&amp;#039;&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
version: STSv1 &lt;br /&gt;
mode: testing &lt;br /&gt;
mx: yourdomain.com &lt;br /&gt;
max_age: 604800&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;fill the following records at your dns. (fill the id field with current timestamp, and update the domain/ email to your needs)&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
_smtp._tls.yourdomain.com. 900 IN TXT &amp;quot;v=TLSRPTv1; rua=mailto:admin@yourdomain.com&amp;quot;&lt;br /&gt;
_mta-sts.yourdomain.com. 900 IN TXT &amp;quot;v=STSv1; id=1575556993&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DNS and BIMI Record ====&lt;br /&gt;
add a picture as svg accessible with your web srver, be sure DMARC fields are ok. and then file the DNS field, with the correct URL. You might need to check if your SVG is compatible &amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt;&lt;br /&gt;
default._bimi             IN TXT    &amp;quot;v=BIMI1; l=https://yourdomain.com/images/Logo.svg&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;you might also obtain a certificate for your logo after having validate your ownership see:  Verified Mark Certificates (VMC). As of 2023 this is a paid certificate for about 1500 USD a year, after registering for your trademark. So this will be kept out of scope of this page for the moment&lt;br /&gt;
&lt;br /&gt;
# https://authindicators.github.io/rfc-brand-indicators-for-message-identification/&lt;br /&gt;
# https://mxtoolbox.com/dmarc/bimi/how-to-create-bimi-record&lt;br /&gt;
# https://bimigroup.org/using-the-rnc-schema-to-validate-bimi-svg-images/&lt;br /&gt;
&lt;br /&gt;
==== DNS DKIM /SPF and DMARC ====&lt;br /&gt;
see [[Email#DKIM Setup - qpsmtpd version .3E.3D 0.96]]&lt;br /&gt;
&lt;br /&gt;
====DNS CNAME Record ====&lt;br /&gt;
having a CNAME for autodiscover pointing to your server could help but is not mandatory.&lt;br /&gt;
 &lt;br /&gt;
====Server Side ====&lt;br /&gt;
you can list the available configuration with the following command :&lt;br /&gt;
 config show {{#var:contribname}}&lt;br /&gt;
&lt;br /&gt;
Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!property&lt;br /&gt;
!default&lt;br /&gt;
!values&lt;br /&gt;
!&lt;br /&gt;
|-&lt;br /&gt;
|DocURL&lt;br /&gt;
|&lt;br /&gt;
|string&lt;br /&gt;
|url on your server without the domain, to point to your local documentation about your mail service for Thunderbird like configurations.&lt;br /&gt;
|-&lt;br /&gt;
|access&lt;br /&gt;
|private&lt;br /&gt;
|private, public&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|status&lt;br /&gt;
|enabled&lt;br /&gt;
|enabled,disabled&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Uninstall ===&lt;br /&gt;
 yum remove {{#var:smecontribname}}&lt;br /&gt;
&lt;br /&gt;
=== Bugs ===&lt;br /&gt;
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}&lt;br /&gt;
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}&lt;br /&gt;
&lt;br /&gt;
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component={{#var:smecontribname}} |noresultsmessage=No open bugs found.}} &lt;br /&gt;
&lt;br /&gt;
===Changelog===&lt;br /&gt;
Only released version in smecontrib are listed here.&lt;br /&gt;
&lt;br /&gt;
{{ #smechangelog: {{#var:smecontribname}} }}&lt;br /&gt;
&lt;br /&gt;
===Sources===&lt;br /&gt;
Microsoft clients&lt;br /&gt;
*https://docs.microsoft.com/en-us/previous-versions/office/exchange-server-2007-technical-articles/bb332063(v=exchg.80)?redirectedfrom=MSDN#SupportedScenariosConnecting&lt;br /&gt;
*https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/autodiscover-for-exchange#options-for-using-autodiscover&lt;br /&gt;
*https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/soap-autodiscover-web-service-reference-for-exchange?redirectedfrom=MSDN&lt;br /&gt;
*https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxdscli/48d23e06-f884-44b5-993e-75b7a115827c&lt;br /&gt;
*https://support.microsoft.com/en-us/topic/outlook-2016-implementation-of-autodiscover-0d7b2709-958a-7249-1c87-434d257b9087&lt;br /&gt;
*https://admx.help/HKCU/software/policies/microsoft/office/16.0/outlook/setup&lt;br /&gt;
*https://www.howto-outlook.com/howto/autodiscoverconfiguration.htm&lt;br /&gt;
Multiple configuration&lt;br /&gt;
*https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/autodiscover-json.php&lt;br /&gt;
*https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/inc/vars.inc.php&lt;br /&gt;
*https://forum.virtualmin.com/t/autodiscover-mail-settings-outlook/108570&lt;br /&gt;
*https://github.com/mailcow/mailcow-dockerized/issues/615 (trouble with Outlook 2016)&lt;br /&gt;
*https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/autodiscover.php&lt;br /&gt;
*https://github.com/gronke/email-autodiscover/blob/master/mail/autodiscover.xml&lt;br /&gt;
*https://mcmilk.de/projects/autoconfig/ (MS TB and Apple)&lt;br /&gt;
* https://roll.urown.net/server/mail/autoconfig.html&lt;br /&gt;
* https://github.com/smartlyway/email-autoconfig-php&lt;br /&gt;
&lt;br /&gt;
about new MS json file&lt;br /&gt;
* https://blog.icewolf.ch/archive/2020/12/09/autodiscover-v2-json-requests.aspx (TODO create this file)&lt;br /&gt;
* https://github.com/mailcow/mailcow-dockerized/blob/master/data/web/autodiscover-json.php&lt;br /&gt;
* https://www.msxfaq.de/exchange/autodiscover/autodiscover_v2.htm&lt;br /&gt;
* https://github.com/gronke/email-autodiscover/blob/master/settings.json.sample&lt;br /&gt;
* https://github.com/mailcow/mailcow-dockerized/pull/636&lt;br /&gt;
about Mozilla&lt;br /&gt;
&lt;br /&gt;
* https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat&lt;br /&gt;
&lt;br /&gt;
generic&lt;br /&gt;
&lt;br /&gt;
* https://datatracker.ietf.org/doc/html/rfc6764&amp;lt;!-- list of category you want to see this page in --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: Contrib]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Please keep there the template revision  number as is --&amp;gt;&lt;br /&gt;
[[contribtemplate::2| ]]&lt;/div&gt;</summary>
		<author><name>Rdswikiadmin</name></author>
	</entry>
</feed>