Roundcube Community Forum

Release Support => Pending Issues => Topic started by: linuxer on September 17, 2006, 11:22:56 AM

Title: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: linuxer 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



Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: linuxer on September 17, 2006, 04:29:31 PM
i have checked the log no errors found but still folders not showing up... please help
Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: RolfXXL 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
Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: linuxer 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......
Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: RolfXXL on September 18, 2006, 05:31:42 AM
You have any idea which imapd is running on your box?
Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: linuxer on September 18, 2006, 11:59:53 AM
its uw-imap which comes with cpanel

Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: ryanb006 on November 27, 2006, 12:50:36 AM
Did you subscribe to these folders in your preferences?
Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: Reload 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...
Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: codybaker 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");
  }
 }
}

Title: Re: HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE
Post by: linuxer 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