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 compatibility_level = 2
mail_owner = postfix mail_owner = postfix
setgid_group = postdrop setgid_group = postdrop
myorigin = $mydomain myorigin = $mydomain
inet_interfaces = all inet_interfaces = all
inet_protocols = ipv4 inet_protocols = ipv4
mydestination = localhost, $mydomain, $myhostname mydestination = localhost, $mydomain, $myhostname, mail.REPLACEME.TLD
relay_domains = $mydestination relay_domains = $mydestination
unknown_local_recipient_reject_code = 450 unknown_local_recipient_reject_code = 450
mynetworks_style = host mynetworks_style = host