I run a couple of mail servers using postfix, currently at version 2.10.1.
They are set up to send and receive email for multiple virtual domains and have been doing that beautifully for years. I recently changed the host name of one of the servers from one domain I am hosting to another of the domains the server is serving. Upon verifying the server I noticed that the Received: headers on email sent via that server now have the new host name and so causes Thunderbird to show the from address in red for emails from domains that are different from the server's hostname. To be honest, I have been seeing the for a long while and just ingnored it until now. Is there anything I can do to specify that the Recieved: headers have the "correct" domain name depending on what domain is sending an email (From:)? I have DKIM working in such a manner. When an email is sent for domain.one (From: domain.one) the dkim signature contains the signature for domain.one and if sent for domain.two (From: domain.two) it contains the dkim signature for domain.two. No matter what the server's hostname is set to. I guess I am asking if there is any way to map the sending domain written to the header (From.: domain.tld) to the domain the email was sent as? Similar to how opendkim does when choosing the DKINM signature to add to the outgoing email's header. I would include the output of postconf, but it is very large and I don't know how to narrow it down to what is needed to help resolve this issue. Emmett