• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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