Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
fortgeschrittene:thunderbird_autoconfig [2022/12/24 05:19] ingo_wichmann |
fortgeschrittene:thunderbird_autoconfig [2025/08/14 09:27] (aktuell) ingo_wichmann [mit Alias] |
||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
Mögliche Alternativen: | Mögliche Alternativen: | ||
* [[RFC>6186]] | * [[RFC>6186]] | ||
- | * [[https://automx.org/de/|automx]] (funktioniert auch mit Outlook, MacOS und iOS) | + | * [[https://github.com/sys4/automx/blob/master/INSTALL|automx]] (funktioniert auch mit Outlook, MacOS und iOS, aber letzte Änderung 2016) |
- | Voraussetzung: | + | ===== Voraussetzung ===== |
* [[postfix]] bevorzugt mit [[postfix-tls|TLS]] ((https://bugzilla.mozilla.org/show_bug.cgi?id=667896)) | * [[postfix]] bevorzugt mit [[postfix-tls|TLS]] ((https://bugzilla.mozilla.org/show_bug.cgi?id=667896)) | ||
* [[dovecot-imapd]] mit [[dovecot-ssl|TLS]] | * [[dovecot-imapd]] mit [[dovecot-ssl|TLS]] | ||
+ | * Apache mit TLS | ||
* [[apache-virtual-hosts]], geht aber auch ohne virtual host, mit ''/.well-known/autoconfig/mail/config-v1.1.xml'' | * [[apache-virtual-hosts]], geht aber auch ohne virtual host, mit ''/.well-known/autoconfig/mail/config-v1.1.xml'' | ||
* Wie in [[bind]] beschrieben einen CNAME ''autoconfig'' für die Domain anlegen. | * Wie in [[bind]] beschrieben einen CNAME ''autoconfig'' für die Domain anlegen. | ||
* Wie in [[apache-virtual-hosts]] beschrieben einen Virtual Host für die Domain anlegen. | * Wie in [[apache-virtual-hosts]] beschrieben einen Virtual Host für die Domain anlegen. | ||
+ | |||
+ | ===== Apache konfigurieren ===== | ||
+ | ==== mit Alias ==== | ||
+ | <file txt /etc/apache2/conf-available/autoconfig.conf> | ||
+ | Alias /.well-known/autoconfig /var/www/autoconfig | ||
+ | |||
+ | <Directory /var/www/autoconfig/> | ||
+ | Options FollowSymlinks | ||
+ | Options -Indexes | ||
+ | AllowOverride None | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | </file> | ||
+ | |||
+ | a2enconf autoconfig | ||
+ | |||
+ | ++++ Alternativ: mit Virtual Host | | ||
+ | ==== mit Virtual Host ==== | ||
<file txt autoconfig.z21.example.net.conf> | <file txt autoconfig.z21.example.net.conf> | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName autoconfig.z21.example.net | ServerName autoconfig.z21.example.net | ||
- | DocumentRoot /var/www/autoconfig.z21.example.net | + | DocumentRoot /var/www/autoconfig |
- | <Directory "/var/www/autoconfig.z21.example.net"> | + | <Directory "/var/www/autoconfig"> |
require all granted | require all granted | ||
</Directory> | </Directory> | ||
Zeile 25: | Zeile 44: | ||
</file> | </file> | ||
- | mkdir -p autoconfig.z21.example.net/mail | + | a2ensite autoconfig.z21.example.net |
+ | ++++ | ||
+ | apache2ctl graceful | ||
- | <file xml autoconfig.z21.example.net/mail/config-v1.1.xml> | + | ===== Datei config-v1.1.xml hinterlegen ===== |
+ | mkdir -p /var/www/autoconfig/mail | ||
+ | |||
+ | <file xml /var/www/autoconfig/mail/config-v1.1.xml> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Zeile 49: | Zeile 73: | ||
<username>%EMAILLOCALPART%</username> | <username>%EMAILLOCALPART%</username> | ||
</outgoingServer> | </outgoingServer> | ||
- | <documentation url="http://vm02.z21.example.net/test.html"> | + | <documentation url="https://vm02.z21.example.net/test.html"> |
<descr lang="de">Allgemeine Beschreibung der Einstellungen</descr> | <descr lang="de">Allgemeine Beschreibung der Einstellungen</descr> | ||
<descr lang="en">Generic settings page</descr> | <descr lang="en">Generic settings page</descr> | ||
Zeile 56: | Zeile 80: | ||
</clientConfig> | </clientConfig> | ||
</file> | </file> | ||
+ | |||
+ | Testen: https://vm02.z21.example.net/.well-known/autoconfig/mail/config-v1.1.xml | ||
====== Dokumentation ====== | ====== Dokumentation ====== |