• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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