Hi,
I'm trying to set up Postfix on one of our hosts to handle (among other things)
outgoing mail. We have several hosts in our domain (which I'll call
domain.com).
The problem I'm trying to solve is that when I send a message, either to
another user in our domain or to an outside address, the From: header of the
message appears as
From: Adam Beneschan < a...@host1 >
(no spaces inside the angle brackets, I've added them to foil AOL), but I need
it to appear as
From: Adam Beneschan < a...@domain.com >
main.cf currently contains
mydomain = domain.com
myorigin = $mydomain
and most recently I tried
sender_canonical_maps = hash:/etc/postfix/sender_canonical
where the last file was postmap'ed from a file that looks like
adam a...@domain.com
a...@host1 a...@domain.com
(with other host and user names). It didn't help.
What parameter do I need to get this to work?
(Postfix version is 2.2.10, on Fedora. I set up the installation some years
ago planning to finish it if a certain other machine ever died, which is what
happened; if I can't solve the problem without upgrading, I'll do so.)
Sorry if this is a trivial question, but the answer wasn't obvious to me from
the FAQs or address rewriting documentation.
Thanks for any help,
-- Adam