From c09d39eda605a89d9eb65755100b168f4c3b28db Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 21 Mar 2018 15:34:20 -0400 Subject: [PATCH] Use the system's hostname.domain.tld for postfix and add mail.domain.tld as an additional destination --- postfix/main.cf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postfix/main.cf b/postfix/main.cf index dfa797b..61e0ea1 100644 --- a/postfix/main.cf +++ b/postfix/main.cf @@ -1,11 +1,11 @@ -myhostname = mail.REPLACEME.TLD +myhostname = somehostname.REPLACEME.TLD compatibility_level = 2 mail_owner = postfix setgid_group = postdrop myorigin = $mydomain inet_interfaces = all inet_protocols = ipv4 -mydestination = localhost, $mydomain, $myhostname +mydestination = localhost, $mydomain, $myhostname, mail.REPLACEME.TLD relay_domains = $mydestination unknown_local_recipient_reject_code = 450 mynetworks_style = host