0
votes

So I have a server with one domain name, lets say domain1.com. On that same server I have a subserver with another domain name, lets say domain2.com. They both have the same IP address. My server is CentOS and uses sendmail as the SMTP server. Whenever I send emails from domain2.com it still sends it from domain1.com. Is there any way to configure sendmail to send the emails through domain2.com?

Thanks in advance.

1

1 Answers