Use the system's hostname.domain.tld for postfix and add mail.domain.tld as an additional destination
This commit is contained in:
parent
94cda851d9
commit
c09d39eda6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue