Slide 1

Slide 1 text

Email migration best practices Viktor Petersson | [email protected] | @vpetersson

Slide 2

Slide 2 text

About us • Launched YippieMove in 2008 • Email migration experts • Worked with many well-known clients

Slide 3

Slide 3 text

About YippieMove • The most powerful email migration tool • Support most email providers / servers on the market • Cost effective and scalable YippieMove offers (in addition to consulting) • Single-user migrations • Batch migrations • Self-service portals • API

Slide 4

Slide 4 text

The basics

Slide 5

Slide 5 text

Email Protocols Inbound • IMAP • POP3 • MAPI Outbound • SMTP Image from Apple.com

Slide 6

Slide 6 text

DNS for email DNS • A-record • CNAME • MX-record • Priorities • Time To Live (TTL) • PTR, TXT, SPF... Image from sxc.hu

Slide 7

Slide 7 text

DNS example google.com 74.125.224.36 [...] mail.google.com googlemail.l.google.com [...] google.com aspmx.l.google.com [...] A-record CNAME MX-record

Slide 8

Slide 8 text

Big picture Recipient’s Server Recipient Sender MX-record SMTP CNAME A-record IMAP MAPI POP3 Sender’s Server SMTP DNS-lookup

Slide 9

Slide 9 text

Best practices

Slide 10

Slide 10 text

Objectives •Minimize impact on users • Before, during and after the migration • Ensure data integrity

Slide 11

Slide 11 text

Pre-email migration checklist • Are you dealing with a single or multiple domains? • If large migration, can it be broken down into groups? • Do you have access to make DNS changes? • What is the TTL for the relevant DNS-records? • Do you have access to email administration? • Both source and destination

Slide 12

Slide 12 text

Pre-email migration checklist • How are the clients accessing their email today? • Where are the messages stored (remote or locally)? • How can we access the messages? • What authentication methods are supported? • When is the lowest email transaction volume? • What about contacts and calendar?

Slide 13

Slide 13 text

What are your options? • “Drag and drop”* • GAMME* • Google Apps sync for Outlook* • POP3-fetcher • Server-side scripting / tools (imapsync etc) • Email Migration-as-a-Service (such as YippieMove) • No migration * Limited by local bandwidth

Slide 14

Slide 14 text

Email migration workflow The week before the migration • Drop the TTLs to the lowest value (usually 3600s/1h) • Prepare a list of all users, domains and aliases The week of the migration • Setup all accounts on the destination • Configure all domain and user aliases • Send out provisioned destination passwords to users

Slide 15

Slide 15 text

Email migration workflow The day of the email migration (after business hours) • Change the DNS-records (MX and others) • Provision new source passwords • Assuming no other method is supported A few hours later (4xTTL is a good rule of thumb) • Begin the email migration

Slide 16

Slide 16 text

Tips and tricks

Slide 17

Slide 17 text

Tips and tricks for the email migration • Use OAuth for authentication when possible • Use application-specific password as fallback • TTLs can’t be trusted • Don’t provide users with the reseted password • They will change the password • It will lead to interruptions in the migration

Slide 18

Slide 18 text

Tips and tricks for the email migration • Use “Live CDs” if you need to access customer data • MX-records does not affect access to the emails • mail.example.com => someserver.provider.com

Slide 19

Slide 19 text

Tips and tricks for IMAP Open a connection • $ telnet mail.example.com 143 • $ openssl s_client -crlf -connect mail.example.com:993 Login • . LOGIN [email protected] password Logout • . LOGOUT

Slide 20

Slide 20 text

Tips and tricks for DNS Verify MX records • $ dig example.com mx @8.8.8.8 Verify DNS records • $ dig example.com @8.8.8.8 • $ dig mail.example.com @8.8.8.8 Web-based alternatives: • MX-toolbox (mxtoolbox.com) • Your favorite domain registrar

Slide 21

Slide 21 text

Tips and tricks for DNS

Slide 22

Slide 22 text

www.YippieMove.com Viktor Petersson | [email protected] | @vpetersson The deck will be available at wireload.net/news

Slide 23

Slide 23 text

Demo