Author Topic: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE  (Read 5936 times)

Offline linuxer

  • Newbie
  • *
  • Posts: 5
HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« on: September 17, 2006, 11:22:56 AM »
I installed roundcube preety good

very impressed with the layout, and speed

BUT THE FOLDERS I SEE IN HORDE / SQUIRRELMAIL I CANNOT SEE IN ROUNDCUBE,

CAN YOU HELP IN THIS REGARD




Offline linuxer

  • Newbie
  • *
  • Posts: 5
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #1 on: September 17, 2006, 04:29:31 PM »
i have checked the log no errors found but still folders not showing up... please help

Offline RolfXXL

  • Newbie
  • *
  • Posts: 9
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #2 on: September 17, 2006, 05:40:23 PM »
This should be solveable with the "imap_root" in main.inc.php!

Which imapd is running on your server?

i.e. try "mail/" for uw-imapd

Offline linuxer

  • Newbie
  • *
  • Posts: 5
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #3 on: September 18, 2006, 03:19:34 AM »
it does not help

i tried "mail/" in imap_root "/mail" and "/mail/" also

but no luck...

what could be it any ideas......

Offline RolfXXL

  • Newbie
  • *
  • Posts: 9
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #4 on: September 18, 2006, 05:31:42 AM »
You have any idea which imapd is running on your box?

Offline linuxer

  • Newbie
  • *
  • Posts: 5
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #5 on: September 18, 2006, 11:59:53 AM »
its uw-imap which comes with cpanel


Offline ryanb006

  • Newbie
  • *
  • Posts: 5
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #6 on: November 27, 2006, 12:50:36 AM »
Did you subscribe to these folders in your preferences?

Reload

  • Guest
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #7 on: November 27, 2006, 02:34:29 AM »
I had the same problem, turned out my ISP change the mail system to new cpanel standard "Courier Mail Server"
This new system works on with a different map layout...

Offline codybaker

  • Jr. Member
  • **
  • Posts: 13
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #8 on: December 29, 2006, 12:50:39 PM »
This problem is because horde doesn't subscribe to folders. If you're using courierimap, i wrote a script that traverses the tree and subscribes everyone to every folder they have. This should be used with caution, because people may have set their subscriptions a particular way and this will override that. All of our IMAP customers are webmail, so we just took the risk. This script is very specific to our system in its traversal of users, but I'll post it for anyone who wants to modify it for their own use. It's also kind of ugly code. Remember to change the uid/gid in the chown statement to the appropriate uid/gid.


Code: [Select]
#!/usr/bin/perl

use Cwd;

opendir(DOMAIN, '/mail') or die "Unable to opendir /mail";
while($domain = readdir DOMAIN)
{
 next if ($domain eq '.' or $domain eq '..');
 opendir(LETTER, "/mail/$domain");
 while($letter = readdir LETTER)
 {
  next if ($letter eq '.' or $letter eq '..');
  opendir(ACCOUNT, "/mail/$domain/$letter");
  while($account = readdir ACCOUNT)
  {
   #next if($domain ne 'wilkshire.net' $account ne 'cody');
   next if ($account eq '.' or $account eq '..');
   opendir(MDIR, "/mail/$domain/$letter/$account/.maildir");
   print("/mail/$domain/$letter/$account/.maildir\n");
   open(SUBSCRIBED, ">/mail/$domain/$letter/$account/.maildir/courierimapsubscribed");
   print(SUBSCRIBED "INBOX\n");
   while($_ = readdir MDIR)
   {
    next if ($_ eq '.' or $_ eq '..');
    next if !/\./;
    print(SUBSCRIBED 'INBOX'.$_."\n");
   }
   close(SUBSCRIBED);
   chown(89,89, "/mail/$domain/$letter/$account/.maildir/courierimapsubscribed");
  }
 }
}


Offline linuxer

  • Newbie
  • *
  • Posts: 5
Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
« Reply #9 on: January 26, 2007, 10:56:15 AM »
I m just a starter can you give me the exact script to try out I am dying for installing RC

thanks