• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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