repost: Moving IMAP from one server to another

Craig Ringer craig at postnewspapers.com.au
Wed Oct 22 02:22:53 EDT 2003


> I posted this last week but got no reply, so I'm posting it one more time in
> hope that someone knows how to fix it.

I expect that sasldb will have some form of dump/restore program - 
perhaps you should look into that. Once you can get it to plaintext, 
aiming sed or perl at the dump might be able to make your problem go 
away pretty easily.

> I don't see any problems moving the IMAP folders across - just move the
> /var/spool/imap and /var/imap over. The problem I've got at the moment is
> moving the sasldb2 across. We're using the auxprop mechanism to authenticate
> our users and have just been adding passwords for users with the saslpasswd2
> command. I copied the /etc/sasldb2 file over to the new server and did a
> sasldblistusers2, and it lists all the users, but in the domain of the
> original server. So it lists me as adam.fox at poppy.gribbles.com.au for
> example.
> 
> Is there a way to change the realms of the users in the sasldb2 file to be
> the realm of the new server? Or any other suggestions?






More information about the Info-cyrus mailing list