1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Mail domain conflict w/external mail server

Discussion in 'Plesk for Linux - 8.x and Older' started by CLM4M, Feb 4, 2008.

  1. CLM4M

    CLM4M Guest

    0
     
    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?
     
  2. CLM4M

    CLM4M Guest

    0
     
    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.
     
  3. CLM4M

    CLM4M Guest

    0
     
    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.
     
Loading...