n2zen
2nd April 2006, 18:08
Have new dedicated server, CentOS 4.x, console-only of course, about 90% done with initial setup (apache/mysql/vsftpd/postfix/webmin etc). However, the Postfix 2.1.5 seems to think the Hostname is: server.domain.com
I'm trying to figure out where/how to configure this to the proper domain. Yes, I've tried setting the myhostname=blah.blah.blah in the /etc/postfix/main.cf, with no change.
netstat -tap shows:
tcp 0 0 server.domain.com:domain *:* LISTEN 11086/named
did manage to update the global hostname in:
/etc/sysconfig/network
and /etc/hosts
However, it appears I still need named resolution...?
netstat -tap shows:
tcp 0 0 blahmydomain.com:domain *:* LISTEN 4439/named
and tcp 0 0 *:smtp *:* LISTEN 3640/master
Concluding that I need to tweak the 'named' configuration... Tried tweaking things haphazardly in that confirg and managed to break too many things - had to rollback the changes, and thought it a good time to ask for a hand :)
Are there any simple steps to correcting/changing the box hostname? Helpful steps/links would be appreciated - thanks!
I'm trying to figure out where/how to configure this to the proper domain. Yes, I've tried setting the myhostname=blah.blah.blah in the /etc/postfix/main.cf, with no change.
netstat -tap shows:
tcp 0 0 server.domain.com:domain *:* LISTEN 11086/named
did manage to update the global hostname in:
/etc/sysconfig/network
and /etc/hosts
However, it appears I still need named resolution...?
netstat -tap shows:
tcp 0 0 blahmydomain.com:domain *:* LISTEN 4439/named
and tcp 0 0 *:smtp *:* LISTEN 3640/master
Concluding that I need to tweak the 'named' configuration... Tried tweaking things haphazardly in that confirg and managed to break too many things - had to rollback the changes, and thought it a good time to ask for a hand :)
Are there any simple steps to correcting/changing the box hostname? Helpful steps/links would be appreciated - thanks!