Use the system's hostname.domain.tld for postfix and add mail.domain.tld as an additional destination

This commit is contained in:
Kevin MacMartin 2018-03-21 15:34:20 -04:00
parent 94cda851d9
commit c09d39eda6

View file

@ -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