[Tickets #9273] Re: IMAP Error when only INBOX exists
bugs at horde.org
bugs at horde.org
Thu Oct 21 09:29:38 UTC 2010
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/9273
------------------------------------------------------------------------------
Ticket | 9273
Aktualisiert Von | dennis at cabal4u.de
Zusammenfassung | IMAP Error when only INBOX exists
Warteschlange | IMP
Version | 4.3.8
Typ | Bug
Status | Resolved
Priorität | 3. High
Milestone | 4.3.9
Patch |
Zuständige | Michael Slusarz
------------------------------------------------------------------------------
dennis at cabal4u.de (2010-10-21 05:29) hat geschrieben:
> Some of our users complained about receiving this error right after
> we upgraded to IMP 4.3.8:
>
> Fatal error: Unsupported operand types in
> /home/web/appversions/horde-3.3.9/imp-h3-4.3.8/lib/IMAP/Tree.php on
> line 333
>
> We isolated the complaining users as those with only INBOX mailbox
> and no other IMAP mailboxes in their Maildir store on the server.
>
> When we patch lib/IMAP/Tree.php as follows, the error does not occur
> and these users are able to use IMP. However, this patch has not
> been thoroughly tested.
>
> --- Tree.php.1 2010-09-11 11:59:11.000000000 -0500
> +++ Tree.php 2010-09-29 11:38:25.000000000 -0500
> @@ -330,7 +330,8 @@
>
> if (!isset($names['INBOX'])) {
> /* INBOX must always appear. */
> - $names = array('INBOX' => 1) + $names;
> + /*$names = array('INBOX' => 1) + $names;*/
> + $names = array('INBOX' => 1);
> }
>
> if ($showunsub) {
>
> From diff'ing lib/IMAP/Tree.php, it appears this bug was introduced
> during the change from IMP 4.3.7 to 4.3.8.
>
> We use Courier IMAP 4.1.3 as our POP/IMAP server.
>
> We are running IMP with Horde RHEL5.x using PHP 5.2.x, and our IMP
> config/servers.php is configured as follows:
>
> $servers['imap'] = array(
> 'name' => 'Imap server',
> 'server' => 'imap-server-hostname.XXXX.YYY',
> 'hordeauth' => false,
> 'protocol' => 'imap/ssl/novalidate-cert',
> 'port' => 993,
> 'maildomain' => 'XXXX.YYY',
> 'smtphost' => 'smtp-server-hostname.XXXX.YYY',
> 'smtpport' => 25,
> 'realm' => '',
> 'preferred' => '',
> );
>
This fix wont work. Users who have no additional folders are no able
to log in. But existing folders wont be shown anymore.
I have the same problem with the current horde groupware edition. One
of my users is complaining about this problem and I tried this patch.
Now the user is able to log in. But if I log in to my account, I can
only see my inbox, no additional folders. If I remove the patch, all
folders are shown again.
More information about the bugs
mailing list