sent mail appears to come from [127.0.0.1](may be forged)
HI I am getting problems with sendmail while setting up a mail server on FC9 with static IP. I have installed and can successfully send and receive mails. The problem is currently sent mail has header:
Received:from xxxxxx.com (mail.xxxxx.com [127.0.0.1] (may be forged))
THis means most of the time it is rejected. (e.g. can send to gmail account, but not yahoo)
I have setup /etc/hosts file as
127.0.0.1 mail.xxxxxx.com localhost.localdomain localhost mail
If I remove this line, then instead of "mail.xxxxx.com" in above line, "localhost" appears. So kind of host-lookup seems working. DNS lookup for mail.xxxxx.com shows correct static IP. But I am not sure why it is taking "127.0.0.1" rather than my static IP. I don't know what other configurations are missing?
Please help me.