MASQUERADE (localhost.localdomain [127.0.0.1])

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jaime.pinto
Scalix Star
Scalix Star
Posts: 709
Joined: Fri Feb 23, 2007 6:50 pm
Location: Toronto - Canada

MASQUERADE (localhost.localdomain [127.0.0.1])

Postby jaime.pinto » Thu Oct 11, 2007 12:31 am

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
Image Jaime
||||||||||||||||||||||||||||||||||||||||

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Oct 11, 2007 4:16 am

CentOS 5 does the same thing.

It does make sense to an extent, though, as Scalix submits it to the sendmail MSA, who then passes it on to the sendmail MTA via 127.0.0.1, and it is probably this hop that is logged in the Received header.

The next hop shows the machine's IP correctly.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests

cron