LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2003, 06:27 PM   #1
bmh.01
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
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
 
Old 05-31-2003, 02:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as long as you set it correctly in /etc/hosts sendmail will always resolve the local domain ok.
 
Old 05-31-2003, 05:30 AM   #3
bmh.01
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 05-31-2003, 07:48 AM   #4
bmh.01
LQ Newbie
 
Registered: May 2003
Location: UK
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hostname and Sendmail caps_phisto Linux - Networking 2 10-30-2004 11:51 AM
Residual hostname in Sendmail pauljtester Linux - Software 4 10-25-2004 01:54 PM
Change hostname in X, sendmail starts slow Guru3 Red Hat 4 03-19-2004 03:44 PM
sendmail and unqualified hostname wlfdgcrkz Linux - Software 1 06-02-2003 03:53 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration