On 2023-12-17 at 09:27:36 UTC-0500 (Sun, 17 Dec 2023 06:27:36 -0800 (PST))
saunders.nicholas--- via Postfix-users <[email protected]>
is rumored to have said:

How is this header populated?

X-Google-Original-From: [email protected]

By Google. Exactly what their algorithm is for it is not known. The "X-" prefix is the clue: it's an experimental or local-use header.

So this is a guess: it is the message's envelope sender when it arrived at Google. Maybe (unlikely) the original From: header address.

What's interesting about this value is that the user name on localhost is nicholas. The FQDN is as above. There's no such e-mail address. Well, I suppose mail on localhost to that e-mail will make its way to the user mail.

So Postfix when it gets local mail submitted without a domain part, it fixes that by appending @$myorigin and uses that for sending it along via SMTP. By default, myorigin=$myhostname but if your hostname isn't resolvable, you should change that. My preference is to set $myhostname to a name that relevant public MX records use, so that you get no confusion externally.

Can this value be explicitly set? Or, preferably, even configured so that gmail doesn't generate and populate this header.

Is there a work-around to this header, so that it's never generated?

Those seem like Google questions...

My GUESS is that if your EHLO name is sensible and your envelope sender has a resolvable domain, they MIGHT not generate that header.

--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to