Michael, I had a similar problem. I had one linux server that i was sending mail from. When i send mail from that machine to the outside world the mail had information that it was coming from localhost.localadmin. I tried to use the masquerade_as functionality but that itself did not work. In addition i had to add the following to the /etc/hosts file. change 127.0.0.1 localhost.localadmin localhost to 127.0.0.1 yourmachinename.yourdomain yourmachinename localhost.localadmin localhost
Note: Do not remove the localhost.localadmin localhost entry just prepend yourmachinename.yourdomain yourmachinename. The reason being that some services will fail if you do that. Restart sendmail, or preferebaly reboot your machine. You should have the desired results. "Mingle, Michael" <[EMAIL PROTECTED]> wrote: I have 2 Linux servers on a small test LAN. I am trying to setup sendmail properly. I have configured the proper MX records in the DNS database. I have setup Sendmail to allow connections other than localhost (127.0.0.1). Only one of the servers is configured to use sendmail, the second server has the sendmail service disabled. If I logon to the second server, box2.test.lan, and send email to [EMAIL PROTECTED], I receive the mail but if I try to reply it looks like it came from [EMAIL PROTECTED] I have changed the MASQUERADE AS entry in the sendmail.mc file but this has no effect. What else do I need to change in order to allow all mail to appear to come the domain and not the machine? Any help is appreciated. Thanks, Michael =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Michael Mingle, MCSE MCDBA Information Systems Analyst Aerojet Ordnance Tennessee =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list