I have pointed domain1.com and domain2.com to the same server on the same IP. Now email directed to me@domain2.com gets rejected:
X.X.X.X does not like recipient.
Remote host said: 550 5.7.1
... Relaying denied. Proper authentication required.
Giving up on X.X.X.X
How do I configure Sendmail to accept mail directed to domain2.com as it does with domain1.com and send it to domain1.com mailboxes?
I need to have domain2.com act as an alias of domain1.com.