I get several messages whose headers show something like this (outside the parenthesis coincides with the inside):
Received: from mail.otherdomain.com (mail.otherdomain.com [200.200.200.200])
On the other hand, messages from our scalix server always get at the recipient with this discrepancy:
Received: from mail.mydomain.com (localhost.localdomain [127.0.0.1])
Question: How can I force (localhost.localdomain [127.0.0.1] to disappear, and instead show the legitimate information?
Our RHEL5 sendmail.mc already has the following:
LOCAL_DOMAIN(`mail.mydomain.com')dnl
MASQUERADE_AS(`mydomain.com')dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
no smart host
/etc/hosts
127.0.0.1 localhost.localdomain localhost
300.300.300.300 mail.mydomain.com mail # the scalix server
What am I missing? Is this possible to be accomplished in scalix/sendmail/RHEL5? Is this even a MASQUERADE issue or something else?
Thanks
