• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

split mail between multiple MX servers

M

mlatzel

Guest
Hello,

I have an interesting problem and wonder if anyone out there has a solution.

here's what I would like to do:

We are hosting a clientdomain.com on our PLESK server, with two MX records:

clientdomain.com MX 10 exchange.clientdomain.com
clientdomain.com MX 5 mail.clientdomain.com

where mail.clientdomain.com is localhost and
exchange.clientdomain.com is a client-side exchange server.

Now, some emails are hosting on localhost, and others on the exchange server.

QUESTION: how can I configure qmail to relay incoming messages that do not match any local mailname, to the exchange server? I anticipate having to set /var/qmail/mailnames/clientdomain.com/.qmail-default but how do I ensure forwarding will end up at the rigth server and not use MX-lookup again to result in a loop?

Thanks!

Some references I have used so far:
http://www.qmail.org/man/man8/qmail-remote.html
http://www.qmail.org/man/man5/qmail-control.html
http://www.qmail.org/man/man5/dot-qmail.html
 
Back
Top