From 7c6c9b54ea185f699e20dcc58c896a4c948cbfe5 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 16 Jan 2024 18:06:31 +0100 Subject: [PATCH] first commit --- README.md | 63 +++++++++++++++++++++++++++ cremeaux.org/mail/config-v1.1.xml | 59 +++++++++++++++++++++++++ jarnat.fr/mail/config-v1.1.xml | 59 +++++++++++++++++++++++++ lamelio.fr/mail/config-v1.1.xml | 59 +++++++++++++++++++++++++ lestoitsduval.fr/mail/config-v1.1.xml | 59 +++++++++++++++++++++++++ resilien.fr/mail/config-v1.1.xml | 59 +++++++++++++++++++++++++ weko.io/mail/config-v1.1.xml | 59 +++++++++++++++++++++++++ 7 files changed, 417 insertions(+) create mode 100644 README.md create mode 100644 cremeaux.org/mail/config-v1.1.xml create mode 100644 jarnat.fr/mail/config-v1.1.xml create mode 100644 lamelio.fr/mail/config-v1.1.xml create mode 100644 lestoitsduval.fr/mail/config-v1.1.xml create mode 100644 resilien.fr/mail/config-v1.1.xml create mode 100644 weko.io/mail/config-v1.1.xml diff --git a/README.md b/README.md new file mode 100644 index 0000000..152a446 --- /dev/null +++ b/README.md @@ -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 l’autoconfiguration 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 +``` diff --git a/cremeaux.org/mail/config-v1.1.xml b/cremeaux.org/mail/config-v1.1.xml new file mode 100644 index 0000000..d878d39 --- /dev/null +++ b/cremeaux.org/mail/config-v1.1.xml @@ -0,0 +1,59 @@ + + + + + cremeaux.org + Ouvaton.org Mail + Ouvaton.org + + mail.ouvaton.coop + 993 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 143 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 995 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 110 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 465 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 587 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + Page de documentation + Generic settings page + + + TB 2.0 IMAP configuration + TB 2.0 IMAP settings + + + diff --git a/jarnat.fr/mail/config-v1.1.xml b/jarnat.fr/mail/config-v1.1.xml new file mode 100644 index 0000000..6a87c87 --- /dev/null +++ b/jarnat.fr/mail/config-v1.1.xml @@ -0,0 +1,59 @@ + + + + + jaranat.fr + Ouvaton.org Mail + Ouvaton.org + + mail.ouvaton.coop + 993 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 143 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 995 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 110 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 465 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 587 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + Page de documentation + Generic settings page + + + TB 2.0 IMAP configuration + TB 2.0 IMAP settings + + + diff --git a/lamelio.fr/mail/config-v1.1.xml b/lamelio.fr/mail/config-v1.1.xml new file mode 100644 index 0000000..cb3a875 --- /dev/null +++ b/lamelio.fr/mail/config-v1.1.xml @@ -0,0 +1,59 @@ + + + + + lamelio.fr + Ouvaton.org Mail + Ouvaton.org + + mail.ouvaton.coop + 993 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 143 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 995 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 110 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 465 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 587 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + Page de documentation + Generic settings page + + + TB 2.0 IMAP configuration + TB 2.0 IMAP settings + + + diff --git a/lestoitsduval.fr/mail/config-v1.1.xml b/lestoitsduval.fr/mail/config-v1.1.xml new file mode 100644 index 0000000..7134473 --- /dev/null +++ b/lestoitsduval.fr/mail/config-v1.1.xml @@ -0,0 +1,59 @@ + + + + + lestoitsduval.fr + Ouvaton.org Mail + Ouvaton.org + + mail.ouvaton.coop + 993 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 143 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 995 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 110 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 465 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 587 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + Page de documentation + Generic settings page + + + TB 2.0 IMAP configuration + TB 2.0 IMAP settings + + + diff --git a/resilien.fr/mail/config-v1.1.xml b/resilien.fr/mail/config-v1.1.xml new file mode 100644 index 0000000..2988c77 --- /dev/null +++ b/resilien.fr/mail/config-v1.1.xml @@ -0,0 +1,59 @@ + + + + + resilien.fr + Ouvaton.org Mail + Ouvaton.org + + mail.ouvaton.coop + 993 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 143 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 995 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 110 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 465 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 587 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + Page de documentation + Generic settings page + + + TB 2.0 IMAP configuration + TB 2.0 IMAP settings + + + diff --git a/weko.io/mail/config-v1.1.xml b/weko.io/mail/config-v1.1.xml new file mode 100644 index 0000000..ea6d095 --- /dev/null +++ b/weko.io/mail/config-v1.1.xml @@ -0,0 +1,59 @@ + + + + + weko.io + Ouvaton.org Mail + Ouvaton.org + + mail.ouvaton.coop + 993 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 143 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 995 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 110 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 465 + SSL + password-cleartext + %EMAILADDRESS% + + + mail.ouvaton.coop + 587 + STARTTLS + password-cleartext + %EMAILADDRESS% + + + Page de documentation + Generic settings page + + + TB 2.0 IMAP configuration + TB 2.0 IMAP settings + + +