From 1b78d2fbeedb45e492f652d3b041ba9b22dffe37 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 24 Jan 2021 16:02:53 +0100 Subject: Deploy Thunderbird conf --- deploy | 2 +- render.js | 2 +- src/.well-known/autoconfig/mail/config-v1.1.xml | 27 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 src/.well-known/autoconfig/mail/config-v1.1.xml diff --git a/deploy b/deploy index 124cdcd..da23b39 100755 --- a/deploy +++ b/deploy @@ -4,4 +4,4 @@ shopt -s expand_aliases source .awsclirc npm install node render.js -awsdf s3 sync static s3://deuxfleurs.fr +awsdf s3 sync --size-only static s3://deuxfleurs.fr diff --git a/render.js b/render.js index 5de814e..d0333a8 100644 --- a/render.js +++ b/render.js @@ -24,7 +24,7 @@ const walk = async (path, filename) => { } } -const ext_static = ['.css', '.js', '.otf', '.png', '.svg', '.txt', '.png', '.jpg', '.webp', 'client', 'server', '.pdf', '.ttf'] +const ext_static = ['.css', '.js', '.otf', '.png', '.svg', '.txt', '.png', '.jpg', '.webp', 'client', 'server', '.pdf', '.ttf', '.xml'] const ext_md = ['.md', '.markdown'] const ext_pug = ['.pug', '.jade'] diff --git a/src/.well-known/autoconfig/mail/config-v1.1.xml b/src/.well-known/autoconfig/mail/config-v1.1.xml new file mode 100644 index 0000000..6674526 --- /dev/null +++ b/src/.well-known/autoconfig/mail/config-v1.1.xml @@ -0,0 +1,27 @@ + + + + deuxfleurs.fr + Deuxfleurs Mail + Deuxfleurs + + imap.deuxfleurs.fr + 993 + SSL + plain + %EMAILADDRESS% + + + smtp.deuxfleurs.fr + 465 + SSL + plain + %EMAILADDRESS% + + + Documentation générique pour la configuration + Generic settings page + + + + -- cgit v1.2.3