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 Dec 2, 2007 8:51 PM, Steinar Bang <sb@xxxxxx> 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...?

Here are some idea:

mbpath: converte a mailbox name into a filesystem path


# mbpath user/alain.spineux@xxxxxxxxxxxx
/kolab/var/imapd/spool/domain/m/mydomain.loc/a/user/alain^spineux

now if I stop imapd and chnage the hashing config in imapd

# mbpath user/alain.spineux@xxxxxxxxxxxx
/kolab/var/imapd/spool/domain/mydomain.loc/user/alain^spineux


OR

you can move away all your mailboxe's spool
and use ctl_mboxlist and/or cyreconstruct to recreate the good
filesystem structure for all mailbox,
and then move everythin you have in your moved spool.

OR rename/remove one by one

Regards


>
>
>
> ----
> 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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you
----
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