Roundcube Community Forum

 

HORDE FOLDERS NOT SHOWING UP IN ROUNDCUBE

Started by linuxer, September 17, 2006, 11:22:56 AM

Previous topic - Next topic

linuxer

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




linuxer

i have checked the log no errors found but still folders not showing up... please help

RolfXXL

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

linuxer

it does not help

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

but no luck...

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

RolfXXL

You have any idea which imapd is running on your box?

linuxer


ryanb006

Did you subscribe to these folders in your preferences?

Reload

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

codybaker

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.


#!/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");
  }
 }
}


linuxer

I m just a starter can you give me the exact script to try out I am dying for installing RC

thanks