[imp] Login errors after 4.0.4 to 4.1.1 upgrade...

Michael M Slusarz slusarz at horde.org
Fri May 26 08:52:57 PDT 2006


Quoting Mike Cisar <mlists at starmania.net>:

> Current system configuration is Horde 3.0.10, IMP 4.0.4 and Dovecot
> 1.0.beta2, using IMP to handle authentication.  The system runs webmail for
> the server's main domain and several virtual domains.  When we originally
> converted this server from WU-IMAP (VIMAP) to Dovecot we had to jump a few
> hoops to make things work consistantly (effectively symlinking the base
> domain's mail spool and home directories into appropriate spots in the
> virtual domain structure... so for all intents and purposes Dovecot is
> treating the base domain's email as virtual).  Once we did this the webmail
> just worked without modifying our long-running webmail configurations.  It
> has been running in this state for a number of months and it should be
> mentioned that both IMAP and POP3 work just fine against both base and
> virtual domains with Outlook and Outlook Express (and I'm sure some other
> mail clients as well, we have had no user complaints).
>
> We tried in the last weeks to do an upgrade to IMP 4.1.1 but have run into
> problems of a nature that I don't understand and am hoping someone will be
> able to give some suggestion.
>
> Once upgrading to 4.1.1 all of the virtual mail domains still work just fine
> with Horde/IMP however trying to log in with an account in the base domain
> sits for a while and then pops up a page cannot be displayed error in the
> browser.  Checking the Apache logs shows a "Allowed memory size of 16777216
> bytes exhausted" error.  I have tried raising the memory limit as high as
> 128M and it still exhausts whatever limit I set.  It should be noted that
> for either the base or virtual domains, both show successful IMAP logins in
> the mail logs, so whatever is happening on the base domain is happening
> after a successful authentication.  It should also be noted that the
> imp/test.php test page shows no errors when testing a login from either the
> base or virtual domains.
>
> A representation of the main and virtual configuration from servers.php
> follows...
>
> $servers['mail.virtualdomain.com'] = array(
>     'name' => 'mail.virtualdomain.com',
>     'server' => 'mail.virtualdomain.com',
>     'protocol' => 'imap/notls',
>     'port' => 143,
>     'folders' => 'mail/',
>     'namespace' => '',
>     'maildomain' => 'virtualdomain.com',
>     'smtphost' => 'mail.virtualdomain.com',
>     'realm' => '',
>     'preferred' => 'webmail.virtualdomain.com',
> );

You haven't upgraded your servers.php file.

> In troubleshooting I added the following stanza (found in the Wiki) into the
> configuration stanza for the main domain
>
>     'imap_config' => array(
>         'children' => true,
>         'namespace' => array(
>             '' => array(
>                 'name' => '',
>                 'delimiter' => '.',
>                 'type' => 'personal',
>                 'hidden' => false
>             ),
>         ),
>         'search_charset' => true
>     ),

You should not be using 'imap_config' unless you know what you are doing.
You probably need to read imp/docs/UPGRADING.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the imp mailing list