tobias carlsson <taddis.ml@gmail.com> wrote:
>
> I'm trying to figure out how to route non-local mails for a certain domain
> to a second server that handles the same domain. I know that I can put
> user@system2.domain.com in a forward.. but is there a way to get qmail to
> understand that I want it sent to the second MX automagically when its not
> local and without changing the address?
There is a way. Take the domain out of control/locals or
control/virtualdomains. Add a virtual *user* (not domain) entry in
control/virtualdomains for each user you want handled locally. Optionally add
an entry to control/smtproutes to handle sending "everything else" to the
other server, if DNS doesn't already contain the right routing info.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
--------------------------------------------------------------------------
|