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
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