On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote:
> I have a domain on my Qmail Server that I am migrating to another
> server. I want both servers to be up as I am transitioning the domain.
> My question is, how do I keep the old server up and have it just
> forward new email destined to the domain to the new server and not try
> to capture it locally?
>
> Gilbert Gutierrez 
Hi Gilbert,

I don't think you can do this with at least a small amount of down time
for the new domain, but...

In order to forward mail to the new server from the old ( I think that's
what you're asking) without removing the domain from your old server you
can comment out the migrated domain in
/var/qmail/control/virtualdomains, and put a route to it in
/var/qmail/control/smtproutes and restart qmail or reload qmail. Please
investigate to your satisfaction first. I tried this once on my server
and it worked.

Of course the domain must be created with all the users on the new
server in order for it to receive mail and for your IMAP (or POP)
clients to work. In order to sync the two hosts you can use unison, 
rysnc, or scp. I've used all three. I use unison mostly, and here's a
link to it, which setup can be tailored for replication of only one
domain
(http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup).

How big is this domain?

Eric

 


Reply via email to