LinuxQuestions.org
Help answer threads with 0 replies.
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 11-28-2003, 05:06 PM   #1
johnyy
Member
 
Registered: Jun 2003
Posts: 92

Rep: Reputation: 15
postfix help ??


i running red hat9 and download latest release postfix 2.0.16 source, build it and run it(it works, i could send email out), and i also remove all the old postfix file and sendmail files.
the question i have it's that when i change my hostname in my /etc/hosts
and /etc/sysconfig/network to mydomain.com, how could it take immediate take effect on my new that I change in /etc/hosts and d /etc/sysconfig/network file ?

i try done following
service xinetd restart
postfix reload
source /etc/hosts
source /etc/sysconfig/network

when I use command mail me@yahoo.com
but it's still show up my old domain name...

also in the /etc/postfix/main.cf those vaiables like $myhostname, $mydomain, where those vaiable read off from ??

(reading off from /etc/hosts,/etc/sysconfig/network??)

thanks



help
thanks

Last edited by johnyy; 11-28-2003 at 05:10 PM.
 
Old 11-28-2003, 05:14 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
As root try running:
hostname my.new.hostname.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 07:33 PM
Postfix Help jglazner Linux - Software 0 10-16-2003 04:58 PM
POSTFIX Help Micro Linux - Software 2 05-06-2003 11:29 AM
move postfix mails from server to another postfix server onetwo Linux - Software 2 03-18-2003 03:22 PM


All times are GMT -5. The time now is 04:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration