thanks Eric for you replay,

I do:
1) / var / qmail / control / virtualdomains comment migrateddomain.com
2) / var / qmail / control / smtproutes add migrateddomain.com:
xxx.xxx.xxx.xxx
or migrateddomain.com:fqdn

can I also make sure that users in the old QMT server1 can only read and
not send? For sending, only the new QMT server2 must be used
How can I do?
Thank you


2017-10-12 21:29 GMT+02:00 Eric Broch <ebr...@whitehorsetc.com>:

> Giuseppe,
>
> In order to forward mail to the new server from the old 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.
>
> /var/qmail/control/virtualdomains
>
> #migrateddomain.com
>
> /var/qmail/control/smtproutes
>
> migrateddomain.com:xxx.xxx.xxx.xxx
> or
> migrateddomain.com:fqdn
>
> Eric
>
>
> On 10/12/2017 1:18 PM, Giuseppe Perna wrote:
>
> Hello everyone,
> I have to move an abc.com domain from a server1. QMT to another QMT
> server2, but I would not delete the abc.com domain from server1. QMT
> Is there a possibility to tell the server1 QMT that the abc.com domain is
> no longer local but remote?
>
> Grazie
>
>
> --
> Eric Broch
> White Horse Technical Consulting (WHTC)
>
>

Reply via email to