I'm new at configuring sendmail and I'm working on configuring it as a gateway for our MS Exchange server. Mail seems to relay correctly for the most part.
I'm having an issue that I am unsure how to fix though. Say the exchange mail server is mail.mydomain.com and the sendmail gateway is smtp.mydomain.com, when I send mail to email@example.com
, my message will bounce back with the message "user address required", if I send mail to firstname.lastname@example.org
though, mail goes through without a hitch.
Is there a way to make mail.mydomain.com = mydomain.com? I've been using virtusertables to compensate for this but that doesn't sound like a good solution. There must be some other way to do this?
Thanks in advance