PDA

View Full Version : computer name



bundy07
20th June 2008, 04:13 PM
Can someone tell me how to rename the computer?
I can't get the mail to work as the recepient e-mail servers keep rejecting them because the domain is not found. it shows the e-mail sender as "apache@thepwnerer.bundynomaams"
where thepwnerer.bundynomaams is my computer name.

in the error log it lists ctladdr=<apache@thepwnerer.bundynomaams>

Sorry for being such a dumba$$

PatMcLJr
20th June 2008, 05:17 PM
I am not qualified to help run a mail server, or much else really.

But as a tip

man hostname

man host

and of course google for hostname fedora

plus I think there is a setting in the network config
so maybe

system-config-network

and maybe a bit of searching in dns and bind would help, but all of these are way more then I can handle.

Best of Luck,
Pat Jr.

katsushiro
20th June 2008, 06:10 PM
you should be able to edit your /etc/hosts file...

Configuring /etc/hosts
If your IP address is assigned to you by a DHCP server, then /etc/hosts is configured as follows:
127.0.0.1 mybox.mydomain.com localhost.localdomain localhost mybox

If you have a static IP address, then /etc/hosts is configured as follows:
127.0.0.1 localhost.localdomain localhost
192.168.0.10 mybox.mydomain.com mybox

(found on both http://www.cpqlinux.com/hostname.html, and http://www.anvari.org/cols/System_Administration/Setting_Linux_Host_Name.html) be sure to reboot after setting that.

glennzo
20th June 2008, 08:48 PM
As root or using sudo, edit /etc/sysconfig/network.

NETWORKING=yes
HOSTNAME=computername