-   Linux - Software (
-   -   Sendmail and Hostname Change (

bmh.01 05-30-2003 06:27 PM

Sendmail and Hostname Change
Can someone please tell me how to change my hostname from localhost.localhost and then what settings to change in sendmail for it to work properly again under the new hostname. Redhat 9.

Thanks In Advance

acid_kewpie 05-31-2003 02:44 AM

as long as you set it correctly in /etc/hosts sendmail will always resolve the local domain ok.

bmh.01 05-31-2003 05:30 AM

So how to I actually change my hostname, and what do it put in my hosts file?, it has this in it at the moment :

Quote: localhost.localdomain localhost

bmh.01 05-31-2003 07:48 AM

Well I set my hostname with the "hostname -v" command and added this line to my /etc/hosts file but sendmail still doesn't work, it just won't start :

Quote: Homeserver

All times are GMT -5. The time now is 01:08 PM.