On Mon, 29 Dec 2003, Tim Pushor wrote: > What mail client are you using? Is the user perhaps not subscribed to > those folders? Try checking their subscriptions. >
...how do I do that? And as for what mail client: SquirrelMail. :) > To be perfect honest (even though it is rather embarrasing) I don't > really understand subscriptions, even though I've been using Cyrus for > years ;-) I know perhaps one tenth as much about subscriptions as you do. ;) > > I just had a little stint with Groupwise 5.5 via IMAP (using Mozilla > thunderbird) where the users were not subscribed to the folders, and > none showed up - In the advanced account settings unchecking 'show only > subscribed folders' made them show up. > Incidentally, I am also confused about quotas. I want to set a TOTAL quota for the ENTIRE USER, NOT a quota on each individual mailbox. I wish to basically say: OK, user X can have up to 10MB of storage in their Inbox, Sent, Drafts AND Trash all at once. NOT 10MB in Inbox, 10MB in Sent, 10MB in Drafts.... Is there such a thing as a "sub-folder" or "sub-mailbox"? > Good luck, > Tim > > > JLB wrote: > > >Hi gang. > > > >Using a Perl script called 'add-cyrus-user', using Cyrus::IMAP::Admin, I > >am able to create a user's "inbox"... > > > >...and THAT'S IT. > > > >In other words: > > > >This snippet works: > > > > if (!$client->create($mbox, $partition)) { > > die "failed to create mailbox [$mbox]"; > > } > > if (!$client->setacl($mbox, cyrus => 'all')) { > > die "failed to give cyrus user permissions for [$mbox]"; > > } > > > > > >THIS snippet, however, SEEMS TO work-- it returns no errors, and the > >appropriate folders are created, one folder for each mailbox (Sent, Trash, > >and Drafts), but the user cannot see them... > > > > $client->create("$mbox.Trash", $partition); > > $client->setacl("$mbox.Trash", cyrus => 'all'); > > $client->create("$mbox.Sent", $partition); > > $client->setacl("$mbox.Sent", cyrus => 'all'); > > $client->create("$mbox.Drafts", $partition); > > $client->setacl("$mbox.Drafts", cyrus => 'all'); > > > > > >In other words, although it SEEMS for all the world like it succeeded (and > >YES, I DID try wrapping a similar if/then around one of those, to see if, > >say, the first line to create the Trash mailbox was failing. IT WAS NOT > >FAILING; no error was returned, and hence the script did not die.), it > >didn't. > > > >Please HEEEEEEEEEEEEEEELP!!!!!!!!!! Is there something I am forgetting > >here? Why would the calls to create() not error, and create the > >appropriate folders, but the user logs in and all they see is Inbox? > > > >Other user accounts on the system, users whose accounts were set up > >earlier and by another admin, work just fine... they can see Inbox, Sent, > >Trash, etc... > > > >And I can see no difference in the layouts of the directory structures: > > > >ls -lR /var/spool/imap/user/foo3 (a new user, ONLY INBOX SHOWS UP) > >------------------------------------------------------------------------ > >/var/spool/imap/user/foo3: > >total 24 > >drwx------ 2 cyrus mail 4096 Dec 29 12:45 Drafts > >drwx------ 2 cyrus mail 4096 Dec 29 12:45 Sent > >drwx------ 2 cyrus mail 4096 Dec 29 12:45 Trash > >-rw------- 1 cyrus mail 4 Dec 29 12:45 cyrus.cache > >-rw------- 1 cyrus mail 166 Dec 29 12:45 cyrus.header > >-rw------- 1 cyrus mail 76 Dec 29 12:45 cyrus.index > > > >/var/spool/imap/user/foo3/Drafts: > >total 12 > >-rw------- 1 cyrus mail 4 Dec 29 12:45 cyrus.cache > >-rw------- 1 cyrus mail 166 Dec 29 12:45 cyrus.header > >-rw------- 1 cyrus mail 76 Dec 29 12:45 cyrus.index > > > >/var/spool/imap/user/foo3/Sent: > >total 12 > >-rw------- 1 cyrus mail 4 Dec 29 12:45 cyrus.cache > >-rw------- 1 cyrus mail 166 Dec 29 12:45 cyrus.header > >-rw------- 1 cyrus mail 76 Dec 29 12:45 cyrus.index > > > >/var/spool/imap/user/foo3/Trash: > >total 12 > >-rw------- 1 cyrus mail 4 Dec 29 12:45 cyrus.cache > >-rw------- 1 cyrus mail 166 Dec 29 12:45 cyrus.header > >-rw------- 1 cyrus mail 76 Dec 29 12:45 cyrus.index > >------------------------------------------------------------------------ > > > >ls -lR /var/spool/imap/user/jessietest (an OLD user, ALL FOLDERS SHOW) > >------------------------------------------------------------------------ > >/var/spool/imap/user/jessietest/: > >total 80 > >-rw-r--r-- 1 cyrus mail 1439 Jul 18 02:57 1. > >-rw------- 1 cyrus mail 1229 Nov 19 12:16 103. > >-rw------- 1 cyrus mail 874 Dec 6 06:35 104. > >-rw------- 1 cyrus mail 2829 Dec 6 07:09 105. > >-rw------- 1 cyrus mail 3047 Dec 6 07:09 106. > >-rw------- 1 cyrus mail 2821 Dec 6 07:27 107. > >-rw------- 1 cyrus mail 859 Dec 6 07:33 108. > >-rw------- 1 cyrus mail 1491 Dec 7 07:15 109. > >-rw------- 1 cyrus mail 1030 Dec 12 17:43 110. > >-rw------- 1 cyrus mail 1086 Dec 12 17:45 111. > >-rw-r--r-- 1 cyrus mail 1425 Jul 18 02:57 2. > >drwx------ 2 cyrus mail 4096 Dec 10 20:24 Drafts > >drwx------ 2 cyrus mail 4096 Jul 22 03:07 Sent > >drwx------ 2 cyrus mail 4096 Nov 18 15:21 Sent Items > >drwx------ 2 cyrus mail 4096 Jul 22 03:07 Trash > >-rw------- 1 cyrus mail 10420 Dec 29 14:50 cyrus.cache > >-rw------- 1 cyrus mail 171 Jul 22 03:07 cyrus.header > >-rw------- 1 cyrus mail 648 Dec 29 14:50 cyrus.index > > > >/var/spool/imap/user/jessietest/Drafts: > >total 12 > >-rw------- 1 cyrus mail 4 Dec 10 20:24 cyrus.cache > >-rw------- 1 cyrus mail 171 Dec 10 20:24 cyrus.header > >-rw------- 1 cyrus mail 76 Dec 10 20:24 cyrus.index > > > >/var/spool/imap/user/jessietest/Sent: > >total 12 > >-rw------- 1 cyrus mail 4 Jul 22 03:07 cyrus.cache > >-rw------- 1 cyrus mail 171 Jul 22 03:07 cyrus.header > >-rw------- 1 cyrus mail 76 Jul 22 03:07 cyrus.index > > > >/var/spool/imap/user/jessietest/Sent Items: > >total 56 > >-rw-r--r-- 1 root root 666 Jul 21 23:13 1. > >-rw-r--r-- 1 root root 588 Jul 21 23:13 10. > >-rw-r--r-- 1 root root 588 Jul 21 23:13 2. > >-rw-r--r-- 1 root root 599 Jul 21 23:13 3. > >-rw-r--r-- 1 root root 590 Jul 21 23:13 4. > >-rw-r--r-- 1 root root 588 Jul 21 23:13 5. > >-rw-r--r-- 1 root root 588 Jul 21 23:13 6. > >-rw-r--r-- 1 root root 588 Jul 21 23:13 7. > >-rw-r--r-- 1 root root 587 Jul 21 23:13 8. > >-rw-r--r-- 1 root root 592 Jul 21 23:13 9. > >-rw------- 1 cyrus mail 5452 Nov 18 15:21 cyrus.cache > >-rw------- 1 cyrus mail 171 Jul 23 19:26 cyrus.header > >-rw------- 1 cyrus mail 596 Nov 18 15:21 cyrus.index > > > >/var/spool/imap/user/jessietest/Trash: > >total 12 > >-rw------- 1 cyrus mail 4 Jul 22 03:07 cyrus.cache > >-rw------- 1 cyrus mail 171 Jul 22 03:07 cyrus.header > >-rw------- 1 cyrus mail 76 Jul 22 03:07 cyrus.index > >------------------------------------------------------------------------ > > > > > > > >Please help, help, help!!! > > > >-- > >Jessica L. Blank, Systems Administrator, twu.net > > > > > -- Jessica L. Blank, Systems Administrator, twu.net