• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Mail domain conflict w/external mail server

C

CLM4M

Guest
My domain (example: mydomain.com) is soon to be moved to a Plesk-driven virtual dedicated server.

I've arranged the MX record to point to the Exchange server at my office.

Problem is: mail sent from the Plesk-driven webserver to a @mydomain.com email account is being "grabbed" by the Qmail server, and routed into the catchall account (or bounced, if I want that option).

Is there anyway around this? I guess I want the Qmail to stop thinking mydomain.com is local, and treat it like all the other external addresses.

I've looked and looked, and nothing stands out as a solution.... :/ Anyone?
 
I believe I solved it.

If you edit the /var/qmail/rcpthosts and remove the mydomain.com entry, it will force Qmail to treat the domain as an outside entity.
 
But to insure the server can send mail outward to mydomain.com, edit the /var/qmail/controls/smptroutes file and add the line:

mydomain.com:mail.mydomain.com


where mail.mydomain.com is handled off-server.
 
Back
Top