Re: Cyrus upgrade from 2.1.18 to 2.2.13 moved email messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 02, 2007 at 08:51:51PM +0100, Steinar Bang wrote:
> >>>>> Steinar Bang <sb@xxxxxx>:
> 
> >>>>> Steinar Bang <sb@xxxxxx>:
> >>>>> Sebastian Hagedorn <Hagedorn@xxxxxxxxxxxx>:
> 
> >>>> 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.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux