Results 1 to 4 of 4
Hello all, I have recently setup a RHES server and have a need to run Sendmail.
Currently when I send out email from this server it is address as "root@localhost.localdomain"
...
- 12-04-2006 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 11
Sendmail outgoing domain?
Hello all, I have recently setup a RHES server and have a need to run Sendmail.
Currently when I send out email from this server it is address as "root@localhost.localdomain"
Can someone tell me how to change the "@localhost.localdomain" to my recognizable domain name?
Thanks,
J
- 12-05-2006 #2Linux User
- Join Date
- Jan 2006
- Posts
- 414
Sounds like you haven't set a hostname for your server. You can change it either by running netconfig, and entering the appropriate host and domain names. Or by editing /etc/hostname and /etc/hosts to show the name of your machine.
- 12-06-2006 #3Just Joined!
- Join Date
- Mar 2006
- Posts
- 11
I have set the hostname and domain name however still when I send email from the server the header information shows "localhost.localdomain" Any other thoughts?
Originally Posted by darkrose0510
- 12-07-2006 #4
After you've set up your domain names, rebuild your Sendmail config using the M4 stuff.
I thought the RedHat network tool was 'redhat-config-network'?Linux user #126863 - see http://linuxcounter.net/


Reply With Quote