diff options
| author | Jan T <jan@jantuomi.fi> | 2025-06-23 11:44:03 +0000 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-06-23 14:45:45 +0300 |
| commit | b3c6ca37500b52821b2b66147b22190414c09993 (patch) | |
| tree | 08efb4bdd320e07b1ae7fdb79ef16c645231dcd2 /templates | |
Initial commit
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/aliases.j2 | 1 | ||||
| -rw-r--r-- | templates/auth.conf.j2 | 1 | ||||
| -rw-r--r-- | templates/dma.conf.j2 | 8 |
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 |
