Click to See Complete Forum and Search --> : Web server Domian Name


Rnehora
06-18-2001, 06:44 PM
Hi

whenver an email is sent out from my box to another it is sent as name@localhost.localdomain how can i change that to the name of my actual domain

thanks

Bill
06-18-2001, 06:56 PM
Rename your box. That's all, just rename it.

Hmm, as root, type in...

hostname newname

...stick in your new name where it says newname. Then you can...

vi /etc/hosts

...and stick you your new name with the correct IP etc so it boots up with the new name every time.

Craig McPherson
06-18-2001, 07:07 PM
Actually, you need to change the configuration for your SMTP server. What SMTP server are you using?

Exim uses the "qualify_domain" directive to see what domain to append to unqualified addresses.

Some mailers might just simply use your system's current hostname, but you can always specify explicitly in the mail server's config.