Find the answer to your Linux question:
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" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Linux 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.

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    11
    Quote Originally Posted by darkrose0510
    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.
    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?

  4. #4
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,845
    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/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •