Autodiscover

From SME Server
Revision as of 23:07, 13 July 2022 by Unnilennium (talk | contribs)
Jump to navigation Jump to search




NeedImage.svg
autodiscover logo
MaintainerUnnilennium
Urlhttps://wiki.koozali.org/Autodiscover
LicenceGPL
Category

Mail

Tags autodiscoverEmailPOP3POP3SIMAPIMAPSSMTPautoconfigconfig-v1.1.xml


Maintainer

Jean-Philippe Pialasse

Version

Contrib 10:
smeserver-autodiscover
The latest version of smeserver-autodiscover is available in the SME repository, click on the version number(s) for more information.


Description

This contribs will deploy Microsoft Autodiscover and Mozilla autoconfig to configure your IMAP POP and SMTP accoutn to your mails clients. Plan is to also support creation of apple configuration file in the future.


Installation

yum --enablerepo=smecontribs install smeserver-autodiscover
yum --enablerepo=smecontribs install smeserver-autodiscover
signal-event post-upgrade
signal-event reboot
yum --enablerepo=smecontribs install smeserver-autodiscover
signal-event post-upgrade
signal-event reboot

Configuration

Client Side

Mozilla compatible products

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.

Outlook before 2016

Will also work out of the box by just filling your email and password.


Outlook 2016

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. First is using the old style outlook profile configurator

C:\Program Files (x86)\Microsoft Office\root\Office16\OLCFG.EXE

then button email accounts or

C:\Program Files\Microsoft Office\root\Office16\OLCFG.EXE

then button email accounts

Second would be to force Outlook to use old detection configuration by manipulating Registry, as a priviledged user run in a windows shell:

reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\setup /T REG_DWORD /F /V DisableOffice365SimplifiedAccountCreation /D 1"
Outlook 2019

Out of the box, it does not support IMAP POP3 and SMTP autodiscover, but only exchange type server. You will need to enable old Outlook 2016 accounts. see : https://wiki.contribs.org/Email#Outlook_365_.2F_Outlook_2019_IMAP_Configuration

alternatively the Outlook 2016 should work

C:\Program Files (x86)\Microsoft Office\root\Office19\OLCFG.EXE

then button email accounts or

C:\Program Files\Microsoft Office\root\Office19\OLCFG.EXE

then button email accounts

Second would be to force Outlook to use old detection configuration by manipulating Registry, as a priviledged user run in a windows shell:

reg add HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\19.0\Outlook\setup /T REG_DWORD /F /V DisableOffice365SimplifiedAccountCreation /D 1"
Outlook 365

Need testing,, does not support IMAP POP3 and SMTP autodiscover. Only exchange type server.

Outlook for Android

Need testing, but mostly work as Outlook 365.

Apple products

see bug https://bugs.koozali.org/show_bug.cgi?id=12100


DNS SRV Record alternate method

smtp

_smtp._tcp     SRV 0 1 25 mail.example.com.

smtps

_smtps._tcp     SRV 0 1 465 mail.example.com.

submission (not in use on SME)

_submission._tcp     SRV 0 1 587 mail.example.com.

imap

_imap._tcp     SRV 0 1 143 imap.example.com.
_imaps._tcp    SRV 0 1 993 imap.example.com.

pop3

_pop3._tcp     SRV 0 1 110 pop3.example.com.
_pop3s._tcp    SRV 0 1 995 pop3.example.com.


DNS CNAME Record

having a CNAME for autodiscover pointing to your server could help but is not mandatory.

Server Side

you can list the available configuration with the following command :

config show autodiscover

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 :

property default values
DocURL string url on your server without the domain, to point to your local documentation about your mail service for Thunderbird like configurations.
access private private, public
status enabled enabled,disabled


Uninstall

yum remove smeserver-autodiscover

Bugs

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-autodiscover component or use this link


Below is an overview of the current issues for this contrib:

IDProductVersionStatusSummary (2 tasks)
12104SME Contribs10.0CONFIRMEDNFR: support autodiscover v2 with json file
12100SME Contribs10.0CONFIRMEDNFR: apple mail autoconfig

Changelog

Only released version in smecontrib are listed here.

smeserver-autodiscover Changelog: SME 10 (smecontribs)
2022/07/13 Jean-Philippe Pialasse 1.0.0-1.sme
- initial release [SME: 10842]


Sources

about new json file