Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Setting computer domain?

    Currently I have my server setup and working (it seems) the way I like. But I want to set it to use a real domain.

    By this i mean, when I send mail I want it to be showing to the people it's sent to as and not

    I'm sure it must just be a little change to adjust this but I'm not sure how it's done.

  2. #2

    In /etc/mail/

    add in the last line


    then re-write the /etc/ with m4 (howto in the header of

    restart sendmail and you should be rocking...


  3. #3
    Yeah I'd done that, but it's for recieving on those domains. It doesn't actually send out as that.

    I did figure out what I needed I had to edit the /etc/sysconfig/network file in order to get it working properly.

  4. $spacer_open
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2002
    San Antonio
    This is different depending on which SMTP server you are using. You shouldn't have to set the hostname differently in /etc/sysconfig/network if you don't want to. I usually just use something like:


    in my /etc/mail/ . This will masquerade everything that is coming from ''. If I run 'hostname', it returns '', so you will want to replace this as necessary.


    I respectfully decline the invitation to join your delusion.

Posting Permissions

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