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, 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.
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.