Email Setup

Discussion in 'Site & Server Administration' started by jimkarter, Feb 14, 2006.

  1. #1
    Hello all.

    I need some help regarding my email setup.

    I have a dedicated server which hosts more than one website. I am having problem setting up email thing on it.

    My domains are registered with yahoo and I have done the MX settings also.

    I am able to receive all the mails for each domain as I have setup the /etc/mail/local-host-names and /etc/mail/virtusertable but I am having problem is in sending emails.

    My server's hostname is hostxyz so for whichever domain (eg. domain1.com ) I send the mail (using sendmail) it sends the mail as instead

    What settings I need to change?
    Can anybody help please.
     
    jimkarter, Feb 14, 2006 IP
  2. ffeingol

    ffeingol Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jimkarter,

    Do you have a control panel on the server or are you doing it "by hand". If it's by hand what mail server are you using (sendmail, exim, qmail etc.). How you configure things depends on the software that you are using.
     
    ffeingol, Feb 15, 2006 IP
  3. jimkarter

    jimkarter Notable Member

    Messages:
    5,168
    Likes Received:
    347
    Best Answers:
    0
    Trophy Points:
    235
    #3
    Hello.

    I am doing it by hand. I am using sendmail. Incoming mails are working fine. But what I need is that outgoing mail should have the domainname (virtual domain) from which I am sending the mail instead of the one main domain.


     
    jimkarter, Feb 15, 2006 IP