summaryrefslogtreecommitdiff
path: root/ansible/roles/mail-client/templates/main.cf
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/mail-client/templates/main.cf')
-rw-r--r--ansible/roles/mail-client/templates/main.cf4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/mail-client/templates/main.cf b/ansible/roles/mail-client/templates/main.cf
index 2c026ad..af8e058 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
@@ -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"