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