aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-01-24 16:02:53 +0100
committerQuentin <quentin@deuxfleurs.fr>2021-01-24 16:02:53 +0100
commit1b78d2fbeedb45e492f652d3b041ba9b22dffe37 (patch)
tree8d1af256dedbe048bae5ced998e2b5462f986c19
parent79e604c87e8731838e8e3ab00cbb437d5c2f9426 (diff)
downloadsite-1b78d2fbeedb45e492f652d3b041ba9b22dffe37.tar.gz
site-1b78d2fbeedb45e492f652d3b041ba9b22dffe37.zip
Deploy Thunderbird conf
-rwxr-xr-xdeploy2
-rw-r--r--render.js2
-rw-r--r--src/.well-known/autoconfig/mail/config-v1.1.xml27
3 files changed, 29 insertions, 2 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<clientConfig version="1.1">
+ <emailProvider id="deuxfleurs.fr">
+ <domain>deuxfleurs.fr</domain>
+ <displayName>Deuxfleurs Mail</displayName>
+ <displayShortName>Deuxfleurs</displayShortName>
+ <incomingServer type="imap">
+ <hostname>imap.deuxfleurs.fr</hostname>
+ <port>993</port>
+ <socketType>SSL</socketType>
+ <authentication>plain</authentication>
+ <username>%EMAILADDRESS%</username>
+ </incomingServer>
+ <outgoingServer type="smtp">
+ <hostname>smtp.deuxfleurs.fr</hostname>
+ <port>465</port>
+ <socketType>SSL</socketType>
+ <authentication>plain</authentication>
+ <username>%EMAILADDRESS%</username>
+ </outgoingServer>
+ <documentation url="https://deuxfleurs.fr/Guide/Email.html">
+ <descr lang="fr">Documentation générique pour la configuration</descr>
+ <descr lang="en">Generic settings page</descr>
+ </documentation>
+ </emailProvider>
+</clientConfig>
+