On 7 Apr 2019, at 14:45, Chris Green wrote:
Thanks.  I have myorigin set:-

   myhostname = esprimo.zbmc.eu
   myorigin = zbmc.eu
   mydestination = zbmc.eu esprimo.zbmc.eu, esprimo, chris.zbmc.eu

However, as you can see in the headers here, there are still
references to esprimo.zbmc.eu in my outgoing E-Mail headers.

that's because "myhostname" is put into mail headers.

On Mon, 8 Apr 2019 at 01:37, Bill Cole <
postfixlists-070...@billmail.scconsult.com> wrote:
You should set smtp_helo_name, which defaults to myhostname.

On 8 Apr 2019, at 3:19, Dominic Raferd wrote:
I would be interested to know why this is better than just setting
myhostname = zbmc.eu (i.e. rDNS / PTR value).

On 08.04.19 08:39, Bill Cole wrote:
But that's not the PTR for the externally visible address. That would be chrisisbd01.plus.com, which has an A pointing back to the IP and a pair of MX's pointing elsewhere. I have no idea what that's about...

the smtp helo name doesn't be the same that PTR says.  It's only required to
exist and not be a CNAME.

yes, it would be better/nicer if the fcrdns would match helo, but it't not
required.  It's required (by many mail providers) to be resolvable and
non-generic.

Setting smtp_helo_name solves the immediate reported problem without any risk of side-effects.

well, setting myhostname would do what the OP requests, although it's not
needed and setting smtp_helo_name would be sufficient.

As a matter of principle I don't like the pattern of telling one service that its hostname is a bare domain name unless it is truly the only host in that domain and can be given that name at the system level. Given the lack of a holistic view of the OP's network and services, I prefer to recommend the minimal working fix.

OK, different view explained.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.

Reply via email to