Cyrus upgrade from 2.1.18 to 2.2.13 moved email messages

Bron Gondwana brong at fastmail.fm
Sun Dec 2 17:37:51 EST 2007


On Sun, Dec 02, 2007 at 08:51:51PM +0100, Steinar Bang wrote:
> >>>>> Steinar Bang <sb at dod.no>:
> 
> >>>>> Steinar Bang <sb at dod.no>:
> >>>>> Sebastian Hagedorn <Hagedorn at uni-koeln.de>:
> 
> >>>> What previously was mail/s/user/sb/ is now mail/u/s/user/sb/
> 
> Here's what I think happened.
> 
> I've had this setting since upgrading from 1.5.19 to 2.1.11 in 2002:
> 
> >  hashimapspool: true
> 
> 
> Ie. it's not new.
> 
> So when I ran this command meant for an upgrade from 1.5.* to 2.* things
> where messed up:
> 
> >     $ /usr/lib/cyrus/upgrade/rehash basic
> 
> The rehash script expected a 1.5 structure to work with, and when I fed
> it a 2.1 structure, it moved the wrong directories in the wrong place.
> 
> So the question is what I can do to fix it...?
> 
> If I move 
>  mail/u/user/s/sb /
> to
>  mail/s/user/sb/
> would that fix things...?

Yes.

rehash isn't the nicest script in the whole world.  I have a much nicer
one that's part of the userhash patch at FastMail.  Unfortunately it
doesn't (yet) completely clean up after itself so I need to do a bit
more work before I'm happy to recommend it as a complete replacement.

Bron.


More information about the Info-cyrus mailing list