I just installed a route on my network so my linux machines can share internet with my sun solaris machine. I have everything working fine, except sendmail.
Here is the problem. I changes the name of the solaris machine to some new, becasue the router needed the hostname form the isp. So now sendmail on the solais machine uses the hostname that i created for it, and it takes a long time to send each message, and the reply address is wrong. If it temporarily change the hostname of the soalris machine, to that of the router, then it works perfectly.
So i need to find a way that makes sendmail send messages with a different hostname. I looked in the configuration files, and the man pages, but i still could not find it. And many FAQs and how-tos online said that you need to set the hostname of the system and that is it.
I know there must be a solution out there...anyone know?
Any help would be appreciated. Thanks.
Here is the problem. I changes the name of the solaris machine to some new, becasue the router needed the hostname form the isp. So now sendmail on the solais machine uses the hostname that i created for it, and it takes a long time to send each message, and the reply address is wrong. If it temporarily change the hostname of the soalris machine, to that of the router, then it works perfectly.
So i need to find a way that makes sendmail send messages with a different hostname. I looked in the configuration files, and the man pages, but i still could not find it. And many FAQs and how-tos online said that you need to set the hostname of the system and that is it.
I know there must be a solution out there...anyone know?
Any help would be appreciated. Thanks.
