On Mon, 8 Apr 2019 at 01:37, Bill Cole <
postfixlists-070...@billmail.scconsult.com> wrote:

> On 7 Apr 2019, at 14:45, Chris Green wrote:
>
> > On Sun, Apr 07, 2019 at 08:23:59PM +0200, Ralph Seichter wrote:
> >> * Chris Green:
> >>
> >>> At the moment (and it's been that way for some years) I have
> >>> myhostname in main.cf set as follows:-
> >>>
> >>> myhostname = esprimo.zbmc.eu
> >>
> >> That's fine. Use http://www.postfix.org/postconf.5.html#myorigin in
> >> addition to your existing setting. "myorigin = $mydomain" should work
> >> for your purposes.
> >>
> > Thanks.  I have myorigin set:-
> >
> >     ...
> >     ...
> >     myhostname = esprimo.zbmc.eu
> >     alias_maps = hash:/etc/aliases
> >     alias_database = hash:/etc/aliases
> >     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.
>
> You should set smtp_helo_name, which defaults to myhostname.
>

I would be interested to know why this is better than just setting
myhostname = zbmc.eu (i.e. rDNS / PTR value).

Reply via email to