vanished folders

2007-01-03 Thread Matthias Henze
hi,

i've moved several users with imapsync from an other cyrus setup to kolab
which uses cyrus imapd. now i can only see the inbox, NONE of the
subfolders. i've tried to reconstruct without any success. no client is
able to see the folders. i've tried: kmail, thunderbird, mulberry. when i
use a shell to have a native look at spool i can see all users, folders
and mails. file permissions are correct and cache/index files are present. 

no errors are loged. is there a way to increase the loglevel? perhaps this
can lead me to a clue. 

i'm a bit desperate by now :( perhaps some one can help.

TIA
matthias
-- 

Matthias Henze               [EMAIL PROTECTED]

Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH      voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - - - - -

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


Re: vanished folders

2007-01-03 Thread Mike Husmann
Hi Matthias,

On Wed, January 3, 2007 7:45 am, Matthias Henze wrote:
 hi,

 i've moved several users with imapsync from an other cyrus setup to kolab
 which uses cyrus imapd. now i can only see the inbox, NONE of the
 subfolders.

  What command line options did you pass to imapsync?  Are the folders present
at a filesystem level?

Mike


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


Re: vanished folders

2007-01-03 Thread Rudy Gevaert

Matthias Henze wrote:

hi,

i've moved several users with imapsync from an other cyrus setup to kolab
which uses cyrus imapd. now i can only see the inbox, NONE of the
subfolders. i've tried to reconstruct without any success. no client is
able to see the folders. i've tried: kmail, thunderbird, mulberry. when i
use a shell to have a native look at spool i can see all users, folders
and mails. file permissions are correct and cache/index files are present. 


no errors are loged. is there a way to increase the loglevel? perhaps this
can lead me to a clue. 


i'm a bit desperate by now :( perhaps some one can help.

TIA
matthias


check the subscriptions on your folders in your client...

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep SystemenSystems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


Re: vanished folders

2007-01-03 Thread Mirosław Jaworski
On Wed, 2007-01-03 at 14:45 +0100, Matthias Henze wrote:
 i've moved several users with imapsync from an other cyrus setup to kolab
 which uses cyrus imapd. now i can only see the inbox, NONE of the
 subfolders. i've tried to reconstruct without any success. no client is
 able to see the folders. i've tried: kmail, thunderbird, mulberry. when i
 use a shell to have a native look at spool i can see all users, folders
 and mails. file permissions are correct and cache/index files are present. 

Folders are mailboxes too. Did you created them within kolab before
moving 
data? You need to create them in cyrus and give user access to them in
the
same manner as you do with main user mailbox ( using cyradm's syntax:
cm, sam ).

Additionally you must remember about subscriptions. User can have many
mailboxes, but he doesn't need/want to have an insight into all of them
all the time. Move subscriptions to the new system if the format is same
( check /var/imap/user/ tree for user's .sub files ) or reconstruct
them.

MUAs give users option to see all of user' folders and manipulate 
subscriptions. 

M.

-- 
Mirosław Psyborg Jaworski
GCS/IT d- s+:+ a C++$ UBI$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
Evil is just live, spelt backwards.


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


Re: vanished folders

2007-01-03 Thread Matthias Henze
Am Mittwoch, 3. Januar 2007 15:26 schrieb Mirosław Jaworski:
 On Wed, 2007-01-03 at 14:45 +0100, Matthias Henze wrote:
  i've moved several users with imapsync from an other cyrus setup to
  kolab which uses cyrus imapd. now i can only see the inbox, NONE of the
  subfolders. i've tried to reconstruct without any success. no client is
  able to see the folders. i've tried: kmail, thunderbird, mulberry. when i
  use a shell to have a native look at spool i can see all users, folders
  and mails. file permissions are correct and cache/index files are
  present.

 Folders are mailboxes too. Did you created them within kolab before
 moving data? 

no

 You need to create them in cyrus and give user access to them in 
 the same manner as you do with main user mailbox ( using cyradm's syntax:
 cm, sam ).

i've tried to change acl's with cyradm. with out success. acl's are set but 
folder stay invisible.

but i do not understand this. i've createt a kolab account and used imapsync. 
i thought that is is nothing but moving the mail with a MUA. foders are 
created with imap commands and mails are moved. there shoud be no difference. 
when i create a folder with a MUA i can see it. imap sync is a MUA too, as it 
uses an imap connection and imap commands ...

 Additionally you must remember about subscriptions. User can have many
 mailboxes, but he doesn't need/want to have an insight into all of them
 all the time. Move subscriptions to the new system if the format is same
 ( check /var/imap/user/ tree for user's .sub files ) or reconstruct
 them.

 MUAs give users option to see all of user' folders and manipulate
 subscriptions.

i know, but i can't subscribe to them as they are not displayed ...

hmm, i remember that one of the folders (more than 100 at all) is visible. i 
will check acl's an compare them to the others.


matthias

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


Re: vanished folders

2007-01-03 Thread Mike Husmann
On Wed, January 3, 2007 8:34 am, Matthias Henze wrote:
 Am Mittwoch, 3. Januar 2007 15:03 schrieb Mike Husmann:
 Hi Matthias,

 On Wed, January 3, 2007 7:45 am, Matthias Henze wrote:
  hi,
 
  i've moved several users with imapsync from an other cyrus setup to
  kolab which uses cyrus imapd. now i can only see the inbox, NONE of the
  subfolders.

   What command line options did you pass to imapsync?  Are the folders
 present at a filesystem level?

 hi mike,

 no special options. and: yes, they are present an all mails too. they are
 just invisible.

  Check out the imapsync man page (or run imapsync --help).  You're looking
for the --subscribe option (auto subscribes you to all folders that were
subscribed to on the old server).  Give the instructions a good read - there
are lots of good options like preserving internal date/time stamps and
read/unread status.

Mike


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


Re: vanished folders

2007-01-03 Thread Matthias Henze
Am Mittwoch, 3. Januar 2007 15:46 schrieb Matthias Henze:

 hmm, i remember that one of the folders (more than 100 at all) is visible.
 i will check acl's an compare them to the others.

got it - was a ACL problem. invisible folder have: rswipcda and visible: 
lrswipcda - the l was missing ...

i don't understand why ACL's are not set correctly by now, but i will consult 
the imapsync manual, perhaps there are options to solve this.

thanks to all who replied !

matthias


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


Re: vanished folders

2007-01-03 Thread Matthias Henze
Am Mittwoch, 3. Januar 2007 15:03 schrieb Mike Husmann:
 Hi Matthias,

 On Wed, January 3, 2007 7:45 am, Matthias Henze wrote:
  hi,
 
  i've moved several users with imapsync from an other cyrus setup to
  kolab which uses cyrus imapd. now i can only see the inbox, NONE of the
  subfolders.

   What command line options did you pass to imapsync?  Are the folders
 present at a filesystem level?

hi mike,

no special options. and: yes, they are present an all mails too. they are 
just invisible.

matthias

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


Re: vanished folders

2007-01-03 Thread Mirosław Jaworski
On Wed, 2007-01-03 at 15:46 +0100, Matthias Henze wrote:
  Folders are mailboxes too. Did you created them within kolab before
  moving data? 
 
 no

What does cyradm say:
lm user.user*
( pick a user with folders ). 
Are users folders listed?

  You need to create them in cyrus and give user access to them in 
  the same manner as you do with main user mailbox ( using cyradm's syntax:
  cm, sam ).
 
 i've tried to change acl's with cyradm. with out success. acl's are set but 
 folder stay invisible.

acl is about what user X is allowed to do with mailbox Y, subscription
is about 
whether he wants to see it. 

 but i do not understand this. i've createt a kolab account and used imapsync. 
 i thought that is is nothing but moving the mail with a MUA. foders are 
 created with imap commands and mails are moved. there shoud be no difference. 
 when i create a folder with a MUA i can see it. imap sync is a MUA too, as it 
 uses an imap connection and imap commands ...

imapsync couldn't do migration the way i wanted ( keeping uidl ),
therefore
i didn't used it and i am not familiar with it. It's possible it did
good job 
creating folders/mailboxes though.

  Additionally you must remember about subscriptions. User can have many
  mailboxes, but he doesn't need/want to have an insight into all of them
  all the time. Move subscriptions to the new system if the format is same
  ( check /var/imap/user/ tree for user's .sub files ) or reconstruct
  them.
 
  MUAs give users option to see all of user' folders and manipulate
  subscriptions.
 
 i know, but i can't subscribe to them as they are not displayed ...

Yes, you can. Otherwise subscriptions wouldn't make any sense. 
You should be able to see all your folders, subscribed or not ( maybe 
you just need to change view filter in your MUA subscription manager ).

Anyway - migrating subscriptions is another thing sucessful migration
should take care of.

To avoid numerous complaints about missing folders it's safer to 
subscribe user to all his folders than waiting for all the users 
subscribing themselves back to the ones they want within next months :) 


If you're in a middle of a big after migration f*ckup i suggest you to 
pick flatfile format for your subscriptions
( subscription_db: flat option in imapd.conf ) 
and regenerate subscription files for all the users

Example:

user: test
subscription file: /var/imap/user/t/test.sub
subscription file content:
user.test.folder1
user.test.folder2
user.test.list
user.test.list.cyrus
user.test.list.fbsd-ports
user.test.monitoring
user.test.monitoring.nagios
user.test.monitoring.netcool

NOTE:
don't forget extra tab (\t) before the end of the each line. 
That's one of the things you usually discover in the middle of the
night during migration :)

M.

-- 
Mirosław Psyborg Jaworski
GCS/IT d- s+:+ a C++$ UBI$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
 Do not disturb. Already disturbed!


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


Re: vanished folders

2007-01-03 Thread Rudy Gevaert

Mirosław Jaworski wrote:


NOTE:
don't forget extra tab (\t) before the end of the each line. 
That's one of the things you usually discover in the middle of the

night during migration :)



I can confirm this too :)


--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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