> On 16 Jul 2021, at 10:42 am, Thirumurugan Kalapatti <[email protected]> > wrote: > > mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost, > "/etc/postifx/local-host-names" > > with local-host-names with the list of local hosts does not seem to help.
Don't put the filename in double-quotes. The correct setting is: mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost, /etc/postifx/local-host-names You could also arrange for some minimal address rewriting on the various hosts, so that mail to [email protected] is rewritten to [email protected]. Perhaps by adding "example.com" to "masquerade_domains". See also: http://www.postfix.org/postconf.5.html#local_header_rewrite_clients -- Viktor.
