Sending Mail on Shared Server

We are on a shared server with our domain parked on the server. By doing this, the server thinks that it is mail.mydomain.com and thus it wants to handle any mails sent to user@mydomain.com. We do not want our mail handled by that server since we already have an existing mail setup with mailing lists, virus scanning, spam filtering, etc. But, since many users on our forums have mail accounts on our domain, they use those on the forums and thus are not getting emails since the mail never leaves the server.

The host is Linux and we have cPanel access and did change the MX entries for mydomain to another address that points to our remote mail server. That still did not fix the issue though. If I send mail from the webmail interface of the server to someone@mydomain.com, it drops immediately in to the inbox of the admin since we have no users set up on the shared server. I'm sure the PHP settings on the server instruct the server to use the local sendmail service to send out mail. When the MX entries were changed, the messages said it was restarting BIND, but perhaps the sendmail does not 'see' those changes until a reboot or something?

I have to believe there are a ton of people out there like me with a host for their site, but using a different mail server for the domain mail. I am probably missing something obvious, but I can't think of anything.

I do have SSH access to the machine, if you need to know some settings, etc.

Thank you.

 

 

 

 

Top