aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/aliases.j21
-rw-r--r--templates/auth.conf.j21
-rw-r--r--templates/dma.conf.j28
3 files changed, 10 insertions, 0 deletions
diff --git a/templates/aliases.j2 b/templates/aliases.j2
new file mode 100644
index 0000000..a9ac845
--- /dev/null
+++ b/templates/aliases.j2
@@ -0,0 +1 @@
+root: {{ dma_to_address }}
diff --git a/templates/auth.conf.j2 b/templates/auth.conf.j2
new file mode 100644
index 0000000..a1000ea
--- /dev/null
+++ b/templates/auth.conf.j2
@@ -0,0 +1 @@
+{{ smtp_user }}|{{ smtp_host }}:{{ smtp_password }}
diff --git a/templates/dma.conf.j2 b/templates/dma.conf.j2
new file mode 100644
index 0000000..dfaa04f
--- /dev/null
+++ b/templates/dma.conf.j2
@@ -0,0 +1,8 @@
+SMARTHOST {{ smtp_host }}
+PORT {{ smtp_port }}
+AUTHPATH /etc/dma/auth.conf
+SECURETRANSFER
+STARTTLS
+MAILNAME {{ dma_mail_hostname }}
+MASQUERADE {{ ansible_hostname }}@{{ dma_mail_hostname }}
+#NULLCLIENT