diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-04 11:11:51 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-04 11:11:51 +0200 |
commit | b05e3bfac3a1ebfe45fc5f4c5548bcc3ef693833 (patch) | |
tree | 9ad1a26dca51da51c8cdfb66ee2e2d61dda1d60a /ansible/roles/smarthost-client | |
parent | 71e4bb9fdcdd5a4de6fd5662deebe1c1e64351cc (diff) | |
download | ansibleness-b05e3bfac3a1ebfe45fc5f4c5548bcc3ef693833.tar.gz |
chore: adapt to sane_debian_system version 1 and cleanups
Diffstat (limited to 'ansible/roles/smarthost-client')
-rw-r--r-- | ansible/roles/smarthost-client/templates/main.cf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/smarthost-client/templates/main.cf b/ansible/roles/smarthost-client/templates/main.cf index 2c026ad..d9deaaf 100644 --- a/ansible/roles/smarthost-client/templates/main.cf +++ b/ansible/roles/smarthost-client/templates/main.cf @@ -32,7 +32,7 @@ myhostname = {{ mailname }} alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname -mydestination = {{ mailname }}, {{ hostname }}, localhost.localdomain, localhost +mydestination = {{ mailname }}, {{ sane_debian_system_hostname }}, localhost.localdomain, localhost relayhost = {{ relayhost }} mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_command = procmail -a "$EXTENSION" |