Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
fortgeschrittene:thunderbird_autoconfig [2016/12/01 23:45] ingo_wichmann |
fortgeschrittene:thunderbird_autoconfig [2025/08/14 09:27] (aktuell) ingo_wichmann [mit Alias] |
||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
//Evolution and KMail and Kontact use it, too.// | //Evolution and KMail and Kontact use it, too.// | ||
- | * Voraussetzung: [[apache-virtual-hosts]], [[postfix]] und [[dovecot-imapd]] mit [[dovecot-ssl|TLS]], bevorzugt auch postfix mit [[postfix-tls|TLS]] | + | Mögliche Alternativen: |
- | * Mögliche Alternative: [[RFC>6186]] (nicht getestet) | + | * [[RFC>6186]] |
+ | * [[https://github.com/sys4/automx/blob/master/INSTALL|automx]] (funktioniert auch mit Outlook, MacOS und iOS, aber letzte Änderung 2016) | ||
- | * Wie in [[bind]] beschrieben einen CNAME ''autoconfig'' für die Domain anlegen. | + | ===== Voraussetzung ===== |
- | * Wie in [[apache-virtual-hosts]] beschrieben einen Virtual Host für die Domain anlegen. | + | * [[postfix]] bevorzugt mit [[postfix-tls|TLS]] ((https://bugzilla.mozilla.org/show_bug.cgi?id=667896)) |
+ | * [[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'' | ||
+ | * 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. | ||
- | mkdir -p autoconfig.z21.example.net/mail | + | ===== Apache konfigurieren ===== |
+ | ==== mit Alias ==== | ||
+ | <file txt /etc/apache2/conf-available/autoconfig.conf> | ||
+ | Alias /.well-known/autoconfig /var/www/autoconfig | ||
- | <file xml autoconfig.z21.example.net/mail/config-v1.1.xml> | + | <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> | ||
+ | <VirtualHost *:80> | ||
+ | ServerName autoconfig.z21.example.net | ||
+ | DocumentRoot /var/www/autoconfig | ||
+ | |||
+ | <Directory "/var/www/autoconfig"> | ||
+ | require all granted | ||
+ | </Directory> | ||
+ | </VirtualHost> | ||
+ | </file> | ||
+ | |||
+ | a2ensite autoconfig.z21.example.net | ||
+ | ++++ | ||
+ | apache2ctl graceful | ||
+ | |||
+ | ===== 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 31: | Zeile 71: | ||
<socketType>plain</socketType> | <socketType>plain</socketType> | ||
<authentication>client-IP-address</authentication> | <authentication>client-IP-address</authentication> | ||
+ | <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 40: | Zeile 81: | ||
</file> | </file> | ||
+ | Testen: https://vm02.z21.example.net/.well-known/autoconfig/mail/config-v1.1.xml | ||
+ | |||
+ | ====== Dokumentation ====== | ||
+ | * https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat | ||
+ | * https://developer.mozilla.org/de/docs/Mozilla/Thunderbird/Autokonfiguration | ||
+ | * https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration/FileFormat/HowTo |