Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
fortgeschrittene:thunderbird_autoconfig [2025/08/14 08:23] 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> | <file txt /etc/apache2/conf-available/autoconfig.conf> | ||
Alias /.well-known/autoconfig /var/www/autoconfig | Alias /.well-known/autoconfig /var/www/autoconfig | ||
Zeile 25: | Zeile 28: | ||
</file> | </file> | ||
- | oder | + | a2enconf autoconfig |
+ | |||
+ | ++++ Alternativ: mit Virtual Host | | ||
+ | ==== mit Virtual Host ==== | ||
<file txt autoconfig.z21.example.net.conf> | <file txt autoconfig.z21.example.net.conf> | ||
Zeile 38: | Zeile 44: | ||
</file> | </file> | ||
+ | a2ensite autoconfig.z21.example.net | ||
+ | ++++ | ||
+ | apache2ctl graceful | ||
+ | |||
+ | ===== Datei config-v1.1.xml hinterlegen ===== | ||
mkdir -p /var/www/autoconfig/mail | mkdir -p /var/www/autoconfig/mail | ||
- | <file xml autoconfig/mail/config-v1.1.xml> | + | <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 62: | 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 69: | Zeile 80: | ||
</clientConfig> | </clientConfig> | ||
</file> | </file> | ||
+ | |||
+ | Testen: https://vm02.z21.example.net/.well-known/autoconfig/mail/config-v1.1.xml | ||
====== Dokumentation ====== | ====== Dokumentation ====== |