Sendmail to send using MX record
I have a client who has been using our services for a while now and recently moved to his own dedicated server. His MX records are correct, he can receive e-mail (actually it gets routed to NetMongol where he can read it). But the problem is that when his forum users send him e-mail (via the forum mail functions) using sendmail then it goes to the local account and not to the account on my server.I need help with what changes can be made to sendmail so that when it sends to addresses that it thinks are local then it actually sends them OUTSIDE of the server using the proper MX record. That way it arrives on my server and is available to him.
He's running Linux. (don't know which flavor)
The following files are in his sendmail folder (if is helps)
add_access
add_responder
list_access
list_aliases
remove_access
responder.pyc
sendmailconf.pm
sendmail.pm
update_alias
Isn't there a way he can configure sendmail so when it sees user@local then it makes it user@domain.com (so it is forced to ue the MX)
He tried using a simple formmail cgi script (which uses sendmail) and it works fine for anyaddress@otherdomain.com but if it tries to use address@hisdomain.com it never gets there (meaning it never leaves the server to go to NetMongol )
Thanks a lot for any help