Autoconfiguration and Autodiscover
#1
Autoconfiguration and Autodiscover
Welcome,
I would to share with you two scripts created for hosting where I work. Autoconfiguration (Thunderbird) and Autodiscover(Outlook and Mac OS Mail).

Package: Download
You need to change mail.server.tld to your mail server domain in files

Code:
mail/config-v1.1.xml autodiscover/autodiscover.php

Following steps are writen for example, where I placed scripts to /var/sentora/hostdata/zadmin/public_html/mailconfig

We need to add custom virtualhost:
Code:
</VirtualHost> # Configuration for Autocofiguration <VirtualHost *:80> ServerAlias autodiscover.* autoconfig.* DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mailconfig/" AddType application/x-httpd-php .php <Directory "/var/sentora/hostdata/zadmin/public_html/mailconfig/"> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory>
And DNS records:
Code:
Name                 TYPE  Priority   Weight  Port   Dst       _autodiscover._tcp   SRV    0         0       443    autodiscover.yourdomain.tld autodiscover         A      -       -       -      Your server Ip autoconfig           A      -       -       -      Your server Ip
Few extra words:
If you using port 25 for smtp, change it in scripts (default is 587).
Outlook first try to connect over SSL, don't be upset when he doesn't find configuration at first check.  Outlook will ask you for second try, without SSL.
Thunderbird gets configuration with order from file, If you wish to get configuration without SSL, change order in config-v1.1.xml file.
Reply
#2
RE: Autoconfiguration and Autodiscover
(04-06-2015, 04:40 AM)Castey Wrote: Welcome,
I would to share with you two scripts created for hosting where I work. Autoconfiguration (Thunderbird) and Autodiscover(Outlook and Mac OS Mail).

Package: Download
You need to change mail.server.tld to your mail server domain in files

Code:
mail/config-v1.1.xml autodiscover/autodiscover.php

Following steps are writen for example, where I placed scripts to /var/sentora/hostdata/zadmin/public_html/mailconfig

We need to add custom virtualhost:
Code:
</VirtualHost> # Configuration for Autocofiguration <VirtualHost *:80> ServerAlias autodiscover.* autoconfig.* DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mailconfig/" AddType application/x-httpd-php .php <Directory "/var/sentora/hostdata/zadmin/public_html/mailconfig/"> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory>
And DNS records:
Code:
Name                 TYPE  Priority   Weight  Port   Dst       _autodiscover._tcp   SRV    0         0       443    autodiscover.yourdomain.tld autodiscover         A      -         -       -      Your server Ip autoconfig           A      -         -       -      Your server Ip
Few extra words:
If you using port 25 for smtp, change it in scripts (default is 587).
Outlook first try to connect over SSL, don't be upset when he doesn't find configuration at first check.  Outlook will ask you for second try, without SSL.
Thunderbird gets configuration with order from file, If you wish to get configuration without SSL, change order in config-v1.1.xml file.

Is this still available ??
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)