Computer and IT knowledge - things to know - All
Postfix always rewrites message headers from local SMTP clients and from the Postfix sendmail command, and appends its own domain to incomplete addresses.
The local_header_rewrite_clients parameter controls what SMTP clients Postfix considers local (by default, only local network interface addresses).
example config:
/etc/postfix/main.cf >> add the following line:
local_header_rewrite_clients = permit_mynetworks computer2know :: thank you for your visit :: have a nice day :: © 2026