Changes between Initial Version and Version 1 of Infrastructure/EmailMigrationToCube


Ignore:
Timestamp:
05/27/2013 07:58:24 PM (17 months ago)
Author:
tom.prince
Comment:

Move historic EmailMigrationToCube.

Legend:

Unmodified
Added
Removed
Modified
  • Infrastructure/EmailMigrationToCube

    v1 v1  
     1{{{ 
     2#!html 
     3<div style="background: #ffff99; padding: 10px; border: 1px solid #ffcc88"> 
     4Note: These are old notes about a previous migration. They might be useful to somebody. 
     5</div> 
     6}}} 
     7 
     8== Tasks to be Completed == 
     9 
     10=== Phase 1: Basic local mail on cube [DONE!] === 
     11 1. Create bug #2451 and wiki pages. [DONE] 
     12 1. Set up a trivial postfix instance on cube.twistedmatrix.com. [Already installed previously - DONE] 
     13 1. Test that cube postfix can receive and route email to local accounts, and from local accounts out (mutt). [DONE] 
     14    * cube seems to have a global alias to forward email to pyramid already in place... 
     15      * /etc/mailname was wrong. [FIXED] 
     16 1. Set up forwards from cube to pyramid. [DONE] 
     17    * Done, did these things: 
     18      1. Appended /etc/aliases@pyr into /etc/aliases@cube 
     19      1. Copied all home directories on pyr to a line like "username: username@pyramid.twistedmatrix.com" in /etc/aliases@cube 
     20    * Still need to make mail to twisted-bugs list from trac user work [DONE] 
     21      1. Added twisted-bugs@pyramid.tm.com alias to /etc/aliases@cube.  This was necessary because those emails originate on cube, and cube thinks it's handling twistedmatrix.com. 
     22 1. Test that email sent to a local account on cube gets forwarded to an appropriate local account on pyramid. [DONE] 
     23 1. Notify twisted-admin list about bug, wiki pages, and status. [DONE] 
     24 
     25 
     26=== Phase 2: Prepare for Mailman migration === 
     27 1. Through mailman, set up a fake mailing list on pyramid 
     28 1. Copy the necessary aliases as forwards on cube 
     29 1. Send an email to the list address @twistedmatrix.com (which is pyramid -- MX hasn't changed yet) 
     30 1. Send an email to the list address @cube.twistedmatrix.com to test postfix forwards to pyramid 
     31 1. Compare the source of the two emails.  Email should be received with the same headers, except the SMTP server hostname. 
     32 1. Install mailman on cube, copying config from pyramid (but not data). 
     33    * Currently '''blocked'''--installation requires libapr0, which conflicts with custom subversion deb installed. 
     34 1. Test mailman on cube: 
     35    1. Temporarily disable the cube->pyramid forwards for mailman aliases  
     36    1. Connect directly to SMTP on cube and send an email formatted as if cube is twistedmatrix.com 
     37    1. Verify that mailman sends the email to the list users correctly 
     38 1. Clean up mailman test data on cube. 
     39 1. Restore the cube->pyramid mailman aliases. 
     40 1. Notify the admins list of status. 
     41 
     42=== Phase 3: POP and IMAP mail === 
     43 1. Install necessary POP and IMAP services on cube. 
     44 1. Remove the forward on my account and test IMAP and POP access to cube, including authentication methods currently supported [list here..] 
     45 1. Status update to admin list - at this point we are not committed to anything 
     46 
     47=== Phase 4: Live on cube with Aliases === 
     48 1. Change MX record to point to cube. 
     49 1. (Wait for MX TTL to expire?) 
     50 1. For each local account on twistedmatrix.com: 
     51    1. copy entire /home/account to cube 
     52    1. disable the forward to pyramid, for that account. 
     53    1. send that account an email, letting them know that their email is now being stored on cube, and they should archive or otherwise disregard any email files they have on pyramid. 
     54    1. On pyramid, set up a pyramid->cube alias (the reverse direction) for that account, to respect DNS lag. 
     55 1. Migrate mailman data to cube with rsync.  Turn off cube->pyramid aliases for mailman. 
     56 1. On pyramid, set up a pyramid->cube alias (the reverse direction) for mailman aliases. 
     57 1. Notify twisted-admin list about status. 
     58 
     59=== Misc === 
     60 1. (Optional) Adapt some kind of simple spam-filtering ruleset to postfix and apply it.