aboutsummaryrefslogtreecommitdiff
path: root/app/email/secrets
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-01-16 17:37:34 +0100
committerAlex Auvolat <alex@adnab.me>2021-01-16 17:37:34 +0100
commitd4d0b100ad39bf7ae560c2f714b75fdcf47e9a87 (patch)
tree6ca1be19d3b15c61cdb3fe4de448c20fc12b769f /app/email/secrets
parentc74dc92febd1841c8ea5ff31caab0f941d57527d (diff)
downloadinfrastructure-d4d0b100ad39bf7ae560c2f714b75fdcf47e9a87.tar.gz
infrastructure-d4d0b100ad39bf7ae560c2f714b75fdcf47e9a87.zip
Document secrets and add stub utility to manage them
Diffstat (limited to 'app/email/secrets')
-rw-r--r--app/email/secrets/email/dkim/smtp.private1
-rw-r--r--app/email/secrets/email/dkim/smtp.private.sample0
-rw-r--r--app/email/secrets/email/dovecot/dovecot.crt1
-rw-r--r--app/email/secrets/email/dovecot/dovecot.crt.sample0
-rw-r--r--app/email/secrets/email/dovecot/dovecot.key1
-rw-r--r--app/email/secrets/email/dovecot/dovecot.key.sample0
-rw-r--r--app/email/secrets/email/dovecot/ldap_binddn1
-rw-r--r--app/email/secrets/email/dovecot/ldap_binddn.sample0
-rw-r--r--app/email/secrets/email/dovecot/ldap_bindpwd1
-rw-r--r--app/email/secrets/email/dovecot/ldap_bindpwd.sample0
-rw-r--r--app/email/secrets/email/postfix/postfix.crt1
-rw-r--r--app/email/secrets/email/postfix/postfix.crt.sample0
-rw-r--r--app/email/secrets/email/postfix/postfix.key1
-rw-r--r--app/email/secrets/email/postfix/postfix.key.sample0
-rw-r--r--app/email/secrets/email/sogo/ldap_binddn1
-rw-r--r--app/email/secrets/email/sogo/ldap_binddn.sample0
-rw-r--r--app/email/secrets/email/sogo/ldap_bindpw1
-rw-r--r--app/email/secrets/email/sogo/ldap_bindpw.sample0
-rw-r--r--app/email/secrets/email/sogo/postgre_auth1
-rw-r--r--app/email/secrets/email/sogo/postgre_auth.sample0
20 files changed, 10 insertions, 0 deletions
diff --git a/app/email/secrets/email/dkim/smtp.private b/app/email/secrets/email/dkim/smtp.private
new file mode 100644
index 0000000..3aa3621
--- /dev/null
+++ b/app/email/secrets/email/dkim/smtp.private
@@ -0,0 +1 @@
+RSA_PRIVATE_KEY dkim
diff --git a/app/email/secrets/email/dkim/smtp.private.sample b/app/email/secrets/email/dkim/smtp.private.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/dkim/smtp.private.sample
+++ /dev/null
diff --git a/app/email/secrets/email/dovecot/dovecot.crt b/app/email/secrets/email/dovecot/dovecot.crt
new file mode 100644
index 0000000..7229cfc
--- /dev/null
+++ b/app/email/secrets/email/dovecot/dovecot.crt
@@ -0,0 +1 @@
+SSL_CERT dovecot deuxfleurs.fr
diff --git a/app/email/secrets/email/dovecot/dovecot.crt.sample b/app/email/secrets/email/dovecot/dovecot.crt.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/dovecot/dovecot.crt.sample
+++ /dev/null
diff --git a/app/email/secrets/email/dovecot/dovecot.key b/app/email/secrets/email/dovecot/dovecot.key
new file mode 100644
index 0000000..0d42c79
--- /dev/null
+++ b/app/email/secrets/email/dovecot/dovecot.key
@@ -0,0 +1 @@
+SSL_KEY dovecot
diff --git a/app/email/secrets/email/dovecot/dovecot.key.sample b/app/email/secrets/email/dovecot/dovecot.key.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/dovecot/dovecot.key.sample
+++ /dev/null
diff --git a/app/email/secrets/email/dovecot/ldap_binddn b/app/email/secrets/email/dovecot/ldap_binddn
new file mode 100644
index 0000000..da380f2
--- /dev/null
+++ b/app/email/secrets/email/dovecot/ldap_binddn
@@ -0,0 +1 @@
+SERVICE_DN dovecot Dovecot IMAP server
diff --git a/app/email/secrets/email/dovecot/ldap_binddn.sample b/app/email/secrets/email/dovecot/ldap_binddn.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/dovecot/ldap_binddn.sample
+++ /dev/null
diff --git a/app/email/secrets/email/dovecot/ldap_bindpwd b/app/email/secrets/email/dovecot/ldap_bindpwd
new file mode 100644
index 0000000..068f663
--- /dev/null
+++ b/app/email/secrets/email/dovecot/ldap_bindpwd
@@ -0,0 +1 @@
+SERVICE_PASSWORD dovecot
diff --git a/app/email/secrets/email/dovecot/ldap_bindpwd.sample b/app/email/secrets/email/dovecot/ldap_bindpwd.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/dovecot/ldap_bindpwd.sample
+++ /dev/null
diff --git a/app/email/secrets/email/postfix/postfix.crt b/app/email/secrets/email/postfix/postfix.crt
new file mode 100644
index 0000000..f004d67
--- /dev/null
+++ b/app/email/secrets/email/postfix/postfix.crt
@@ -0,0 +1 @@
+SSL_CERT postfix deuxfleurs.fr
diff --git a/app/email/secrets/email/postfix/postfix.crt.sample b/app/email/secrets/email/postfix/postfix.crt.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/postfix/postfix.crt.sample
+++ /dev/null
diff --git a/app/email/secrets/email/postfix/postfix.key b/app/email/secrets/email/postfix/postfix.key
new file mode 100644
index 0000000..2cf1706
--- /dev/null
+++ b/app/email/secrets/email/postfix/postfix.key
@@ -0,0 +1 @@
+SSL_KEY postfix
diff --git a/app/email/secrets/email/postfix/postfix.key.sample b/app/email/secrets/email/postfix/postfix.key.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/postfix/postfix.key.sample
+++ /dev/null
diff --git a/app/email/secrets/email/sogo/ldap_binddn b/app/email/secrets/email/sogo/ldap_binddn
new file mode 100644
index 0000000..df627d3
--- /dev/null
+++ b/app/email/secrets/email/sogo/ldap_binddn
@@ -0,0 +1 @@
+SERVICE_DN sogo SoGo email frontend
diff --git a/app/email/secrets/email/sogo/ldap_binddn.sample b/app/email/secrets/email/sogo/ldap_binddn.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/sogo/ldap_binddn.sample
+++ /dev/null
diff --git a/app/email/secrets/email/sogo/ldap_bindpw b/app/email/secrets/email/sogo/ldap_bindpw
new file mode 100644
index 0000000..8d2f35b
--- /dev/null
+++ b/app/email/secrets/email/sogo/ldap_bindpw
@@ -0,0 +1 @@
+SERVICE_PASSWORD sogo
diff --git a/app/email/secrets/email/sogo/ldap_bindpw.sample b/app/email/secrets/email/sogo/ldap_bindpw.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/sogo/ldap_bindpw.sample
+++ /dev/null
diff --git a/app/email/secrets/email/sogo/postgre_auth b/app/email/secrets/email/sogo/postgre_auth
new file mode 100644
index 0000000..4f66253
--- /dev/null
+++ b/app/email/secrets/email/sogo/postgre_auth
@@ -0,0 +1 @@
+USER SoGo postgres auth (format: sogo:<password>) (TODO: replace this with two separate files and change template)
diff --git a/app/email/secrets/email/sogo/postgre_auth.sample b/app/email/secrets/email/sogo/postgre_auth.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/email/secrets/email/sogo/postgre_auth.sample
+++ /dev/null