Hi All,

I need to re-install a new mail server.
So I have the actual server running on and ordered a new one where I'm
installing and configuring newer softwares.

It's done and I need to move all domains and it's accounts to the newer
server.
Once there are so many gigabytes to move, I'll need to move
domain-by-domain, the will take weeks to move it all.

My problem is the DNS propagation.
Our server are configure with a 2 hours TTL

So after I move a domain and it's accounts, the next 2 hours both servers
(old one and new one) will receive messages (due to DNS time propagation).

What I want to is configure the old server to relay mails sent to that moved
domain, to the new server.
How can I do that?

My server is configured to use Postfix + SMTP_AUTH + MySQL

I have tried:

1) to create redirect rows on the virtual_maps from 'u...@domain.tld' to
'u...@new.server'
    didn't work: messages didn't arrive into the users account

2) set 'relayhost=new.server'
    didn't work: after deleting domain.tld from the
'virtual_mailbox_domains' it raises 'Relay access denied' and doesn't relay
the message to the newer server.

Any tip/suggestion for that?

Thanks,
Ronan

Reply via email to