Migration from 1.5.24 to 2.1.15

Edward Rudd eddie at omegaware.com
Fri Sep 5 16:30:25 EDT 2003


There is a mysql auxprop plugin included with cyrus-sasl 2.1.15.. look
at the cyrus-sasl mailing list and probably this one for more info on
it's configuration..  

On Fri, 2003-09-05 at 14:55, Robert Covell wrote:
> We are about to migrate 700+ users from 1.5.24 to 2.1.15 and wanted to
> verify that the previous post still pertains to our situation on 2.1.15
> rather than 2.0.16.
> 
> Our setup was and will be:
> 
> Old server:
> - FreeBSD 4.1.1
> - Cyrus IMAPd 1.5.24
> - pwcheck_mysql-0.1 (for all access)
> 
> New server:
> - FreeBSD 4.8 or 5.1 (maybe 5.1)
> - Cyrus IMAPd 2.1.15
> - SASL 2.1.15
> 
> We are not sure how to have the new system check for passwords via mysql.
> Anyone have information regarding this in 2.1.15?
> 
> Thanks,
> -Bob
> 
> 
> 
> 
> 
> ----Previous Post----
> 
> Hi everyone, I'm posting here a kind of step by step guide for the most
> newbie (like me :-) for the migration of user mailbox from Cyrus 1.5.14
> to 2.0.16.
> This guide worked fine in my configuration:
> 
> Old server:
> - Linux SUSe 7.0
> - Cyrus IMAPd 1.5.14
> 
> New server:
> - Linux SUSe 7.0
> - Cyrus IMAPd 2.0.16
> - SASL 1.5.24
> - Berkeley DB3.2.9
> 
> I'm assuming to have a backup file of mailbox in the old format that
> includes everything under /var/imap & /var/spool/imap
> (imapbackup.tar.gz)
> 
> # 1. Delete the actual spool dir:
> 
> rm -r /var/spool/imap/*
> rm -r /var/imap/*
> 
> # 2. Untar the backup file: (imapbackup.tar.gz)
> 
> mkdir /tmp/backimap
> cd /tmp/backimap
> tar zxf imapbackup.tar.gz
> 
> # 3. Move the backup to the spool dir:
> 
> cd imap
> mv * /var/imap
> cd ../spool/imap
> mv * /var/spool/imap
> 
> # 4. Create the rest of directories:
> 
> /usr/cyrus/tools/mkimap
> 
> # 5. Check permission
> 
> chown -R cyrus:mail /var/spool/imap/*
> chown -R cyrus:mail /var/imap/*
> 
> # 6. Reconstruct the mailboxes:
> 
> su - cyrus
> /usr/cyrus/tools/undohash
> /usr/cyrus/tools/dohash
> 
> cd /var/imap
> /usr/cyrus/bin/ctl_mboxlist -u < mailboxes
> 
> cd /var/spool/imap
> /usr/cyrus/bin/reconstruct -r user.*
> 
> # 7. Delete the delivered.db:
> 
> mv /var/imap/delivered.db /var/imap/_delivered.db
> 
> # 8. Delete the temp dir
> 
> exit
> rm -rf /tmp/backimap
> 
> # 9. Startup the sysem:
> 
> /usr/cyrus/bin/master &
-- 
Edward Rudd <eddie at omegaware.com>
Home Page <http://urkle.drip.ws/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030905/29014b69/attachment.bin


More information about the Info-cyrus mailing list