On 19.03.15 11:24, Lucio Crusca wrote:
>I have a production courier-mta server (along with imap and pop) with a number
>of domains and mailboxes, authentication through userdb. It's a old Debian
>GNU/Linux 6.0 server with packaged courier-mta 0.65. I plan to migrate it to a
>new server with Debian GNU/Linux 8.0 and packaged courier-mta 0.73.
>
>What's the best live migration path that ensures no messages are lost in the
>move? My idea is:
>
>1. Install new server & configure all domains & accounts
>2. Make old server send a copy of incoming messages to the new server
>3. manually copy old messages
>4. switch DNS records & wait propagation
>5. shutdown old server
>
>Assuming my idea makes sense, what's the simplest way to configure courier-mta
>for point 2?

Do you _need_ to move to new hardware?

In-place upgrade of debian is usually quite eaqsy thing. You can do that inb
one step (apt-get dist-upgrade) or in many steps (manually upgrade single
packages with their dependencies). 

If you need to upgraqde your hardware, you can set up the new server, copy
user settings and data, and configure it as backuprelay for the old host, so
the mail stuck in queue get sent within a few hours.

however, you must avoid receiving new mail on old server, by turning it off. 
you can do that by disabling services (and thus be unreachable), or
moving password database first, switching DNS and copying user data finally.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
He who laughs last thinks slowest. 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to