Thank you. This should only happen for email from "mynetworks", right?
On 2018-11-20 3:34 pm, Wietse Venema wrote:
li...@mbchandler.net:
I'm trying to understand why this is happening and how to prevent it.
I
have a relay where if an email is sent to it with just a name in the
Header From, then the server's hostname is added to the end of it. For
example, if I telnet to the server and send an email with
"From:Test",
then I'll get an email from Test@hostname.
See http://www.postfix.org/postconf.5.html#myorigin
myorigin (default: $myhostname)
The domain name that locally-posted mail appears to come from,
and that locally posted mail is delivered to. The default,
$myhostname, is adequate for small sites. If you run a domain
with multiple machines, you should (1) change this to $mydomain
and (2) set up a domain-wide alias database that aliases each
user to user@that.users.mailhost.
Postfix does not support domain-less addresses.
Wietse