LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sendmail and Hostname Change (https://www.linuxquestions.org/questions/linux-software-2/sendmail-and-hostname-change-62768/)

bmh.01 05-30-2003 07: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 03: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 06: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:

127.0.0.1 localhost.localdomain localhost

bmh.01 05-31-2003 08: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:

192.168.123.109 Homeserver


All times are GMT -5. The time now is 12:56 AM.