Re: Forward Local Mail
Doug Summers wrote:
> The way I've setup my machines that are allowed to send mail is to
> forward everything to one system, then that system sends out the mail
> through the company relayhost. A message from root@ucl-london will be
> forwarded to ucl-obiwan. When I receive the message (root is aliased to
> my account) the sender shows up as root@ucl-london, which is what I
> want. Simply copying the mail files doesn't keep the sender info when
> being sent.
>
> Doug
Understood. It sounds like the mail client that originates
the message is at fault by not using fully-qualified domain
names.
When Postfix processes a message that just says it from "root",
it will by default append it's own domain name to it.
Because you are moving these files to another system before they
are processed, the new system will add it's domain name.
I suspect the solution is to get the mail clients to use FQDNs,
or make the first receiving mailhost add them. Alsom it they are
being submitted via IMAP/POP3, perhaps that server software has
an option to append missing domain names.
--
Greg
|