first commit

This commit is contained in:
Simon 2024-01-16 18:06:31 +01:00
commit 7c6c9b54ea
7 changed files with 417 additions and 0 deletions

63
README.md Normal file
View File

@ -0,0 +1,63 @@
# Configuration automatique de Thunderbird
Le principe est de pouvoir simplement configurer un mail dans Thunderbird, sans avoir à entrer les paramètres SMTP ou IMAP de OUVATON.
## Comment ça fonctionne
Nous allons prendre l'exemple pour le nom de domaine `lamelio.fr`.
Thunderbird vérfie l'existance d'un fichier `https://autoconfig.lamelio.fr/mail/config-v1.1.xml` qui contient la configuration.
Il faut donc créer un espace web nommé autoconfig sur le domaine concerné et pousser ce document.
Un exemple et une explication pour le contenu du fichier config-v1.1.xml est disponible sur [Mettre en place lautoconfiguration mail pour un nom de domaine](https://www.arobase.org/email-pro/autoconfiguration-mail-pour-un-nom-de-domaine.htm). Voici celui de [ouvaton.org](https://autoconfig.ouvaton.org/mail/config-v1.1.xml).
## Commandes
Nous allons prendre le nom de domaine `lamelio.fr` comme exemple.
```
export DOMAIN=lamelio.fr
```
Une clé a été mise en place pour tous les sites autoconfig :
```
ssh klic.resilien
docker exec -it garage /garage key new --name autoconfig
```
Pour voir les informations :
```
ssh klic.resilien
docker exec -it garage /garage key info autoconfig
```
Création du _bucket_ :
```
ssh klic.resilien
export DOMAIN=lamelio.fr
export NEW_DOMAIN=autoconfig.$DOMAIN
export NEW_DOMAIN_KEY=autoconfig
docker exec -it garage /garage bucket create $NEW_DOMAIN
docker exec -it garage /garage bucket allow --read --write $NEW_DOMAIN --key $NEW_DOMAIN_KEY
docker exec -it garage /garage bucket website --allow $NEW_DOMAIN
```
Configuration de l'outil `mc` :
```
export AWS_ACCESS_KEY_ID=XXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXX
mc alias set autoconfig https://s3.garage.resilien.cloud $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY --api S3v4
```
Déploiement du site :
```
export DOMAIN=lamelio.fr
mc mirror --overwrite ./$DOMAIN/ autoconfig/autoconfig.$DOMAIN
```

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="ouvaton.org">
<domain>cremeaux.org</domain>
<displayName>Ouvaton.org Mail</displayName>
<displayShortName>Ouvaton.org</displayShortName>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>995</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>110</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">Page de documentation</descr>
<descr lang="en">Generic settings page</descr>
</documentation>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">TB 2.0 IMAP configuration</descr>
<descr lang="en">TB 2.0 IMAP settings</descr>
</documentation>
</emailProvider>
</clientConfig>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="ouvaton.org">
<domain>jaranat.fr</domain>
<displayName>Ouvaton.org Mail</displayName>
<displayShortName>Ouvaton.org</displayShortName>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>995</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>110</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">Page de documentation</descr>
<descr lang="en">Generic settings page</descr>
</documentation>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">TB 2.0 IMAP configuration</descr>
<descr lang="en">TB 2.0 IMAP settings</descr>
</documentation>
</emailProvider>
</clientConfig>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="ouvaton.org">
<domain>lamelio.fr</domain>
<displayName>Ouvaton.org Mail</displayName>
<displayShortName>Ouvaton.org</displayShortName>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>995</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>110</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">Page de documentation</descr>
<descr lang="en">Generic settings page</descr>
</documentation>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">TB 2.0 IMAP configuration</descr>
<descr lang="en">TB 2.0 IMAP settings</descr>
</documentation>
</emailProvider>
</clientConfig>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="ouvaton.org">
<domain>lestoitsduval.fr</domain>
<displayName>Ouvaton.org Mail</displayName>
<displayShortName>Ouvaton.org</displayShortName>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>995</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>110</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">Page de documentation</descr>
<descr lang="en">Generic settings page</descr>
</documentation>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">TB 2.0 IMAP configuration</descr>
<descr lang="en">TB 2.0 IMAP settings</descr>
</documentation>
</emailProvider>
</clientConfig>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="ouvaton.org">
<domain>resilien.fr</domain>
<displayName>Ouvaton.org Mail</displayName>
<displayShortName>Ouvaton.org</displayShortName>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>995</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>110</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">Page de documentation</descr>
<descr lang="en">Generic settings page</descr>
</documentation>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">TB 2.0 IMAP configuration</descr>
<descr lang="en">TB 2.0 IMAP settings</descr>
</documentation>
</emailProvider>
</clientConfig>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientConfig version="1.1">
<emailProvider id="ouvaton.org">
<domain>weko.io</domain>
<displayName>Ouvaton.org Mail</displayName>
<displayShortName>Ouvaton.org</displayShortName>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>993</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.ouvaton.coop</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>995</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<incomingServer type="pop3">
<hostname>mail.ouvaton.coop</hostname>
<port>110</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>465</port>
<socketType>SSL</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.ouvaton.coop</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<authentication>password-cleartext</authentication>
<username>%EMAILADDRESS%</username>
</outgoingServer>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">Page de documentation</descr>
<descr lang="en">Generic settings page</descr>
</documentation>
<documentation url="https://ouvaton.coop/Configuration-de-Thunderbird">
<descr lang="fr">TB 2.0 IMAP configuration</descr>
<descr lang="en">TB 2.0 IMAP settings</descr>
</documentation>
</emailProvider>
</clientConfig>