> On 16 Jul 2021, at 10:42 am, Thirumurugan Kalapatti <kovair...@gmail.com> 
> 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 u...@somehost.example.com is rewritten to u...@example.com.  
Perhaps
by adding "example.com" to "masquerade_domains".  See also:

        http://www.postfix.org/postconf.5.html#local_header_rewrite_clients

-- 
        Viktor.

Reply via email to