summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-09-24 10:18:05 +0300
committerLars Wirzenius <liw@liw.fi>2023-09-24 10:18:05 +0300
commit0520bc46b4a03f7622fc05214568fd41d0aaab68 (patch)
tree34ebf2b5fb7fb6aa3ad6f7d41142f5fcb5a0e385
parent4851bfb0d7e79005948a89dc1bbfeb33316beabd (diff)
downloadansibleness-0520bc46b4a03f7622fc05214568fd41d0aaab68.tar.gz
exolobe1.liw.fi as MX and mail client
Sponsored-by: author
-rw-r--r--ansible/exolobe1.yml2
-rw-r--r--ansible/roles/mail-client/templates/main.cf2
-rw-r--r--ansible/roles/mail-server/files/virtual3
-rw-r--r--ansible/roles/smarthost-client/templates/main.cf2
4 files changed, 6 insertions, 3 deletions
diff --git a/ansible/exolobe1.yml b/ansible/exolobe1.yml
index 90a21d4..56f6f4b 100644
--- a/ansible/exolobe1.yml
+++ b/ansible/exolobe1.yml
@@ -308,7 +308,7 @@
- scanner
- video
- mailname: "liw.fi"
+ mailname: "exolobe1.liw.fi"
relayhost: pieni.net:587
smarthost: pieni.net
smarthost_user: pienirelay
diff --git a/ansible/roles/mail-client/templates/main.cf b/ansible/roles/mail-client/templates/main.cf
index 2c026ad..39e9109 100644
--- a/ansible/roles/mail-client/templates/main.cf
+++ b/ansible/roles/mail-client/templates/main.cf
@@ -10,7 +10,7 @@ smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
-append_dot_mydomain = no
+append_dot_mydomain = yes
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
diff --git a/ansible/roles/mail-server/files/virtual b/ansible/roles/mail-server/files/virtual
index 1fcb2a1..67a2287 100644
--- a/ansible/roles/mail-server/files/virtual
+++ b/ansible/roles/mail-server/files/virtual
@@ -7,6 +7,9 @@ liw-passthrough@liw.fi liw
ivana@liw.fi liw
tele@liw.fi liw
+exolobe1.liw.fi -
+@exolobe1.liw.fi liw
+
docstory.fi -
postmaster@docstory.fi soile
abuse@docstory.fi soile
diff --git a/ansible/roles/smarthost-client/templates/main.cf b/ansible/roles/smarthost-client/templates/main.cf
index d9deaaf..af8e058 100644
--- a/ansible/roles/smarthost-client/templates/main.cf
+++ b/ansible/roles/smarthost-client/templates/main.cf
@@ -10,7 +10,7 @@ smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
-append_dot_mydomain = no
+append_dot_mydomain = yes
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h