[imp] multiple imap servers

Jan Schneider jan at horde.org
Wed Jul 11 12:44:23 UTC 2012


Zitat von jason kawaja <kawaja at ece.ufl.edu>:

> On Jul 10, 2012, at 6:37 PM, Michael M Slusarz wrote:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von jason kawaja <kawaja at ece.ufl.edu>:
>>>
>>>> greetings list, been running version 3 for a long while and i  
>>>> must be missing something obvious as i was reading  
>>>> http://wiki.horde.org/ImapSelect and have the following in my  
>>>> setup :
>>>>
>>>> horde/imp/config/conf.php
>>>>
>>>> <?php
>>>> $conf['hooks']['preauthenticate'] = true;
>>>> ...
>>>>
>>>> horde/imp/config/hooks.php
>>>>
>>>> <?php
>>>>
>>>> if (!function_exists('_horde_hook_preauthenticate')) {
>>>>   function _horde_hook_preauthenticate($userID, $credential, $realm)
>>
>> [snip]
>>
>>> And what exactly is the problem? Is the code not reached where  
>>> $_SESSION is overwritten, or does it not write the correct values?
>>
>> And what version are you using?  None of this works with IMP 5 if  
>> that is what you have upgraded to.
>
>
> the problem is that imp/horde is not even attempting to choose  
> another imap server other than the first i have listed.

And how do you determine this?

> horde                     4.0.15  stable
> imp                       5.0.22  stable
> ingo                      2.0.9   stable
> kronolith                 3.0.17  stable
> mnemo                     3.0.6   stable
> nag                       3.0.8   stable
> passwd                    4.0.1   stable
> timeobjects               1.0.7   stable
> turba                     3.0.14  stable
> webmail                   4.0.8   stable
>
> there is not an imap selection option in imp 5?

There is, but the code that you used is only for Horde 3/IMP 4. IMP 5  
even ships with an example hook for selecting imap servers.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the imp mailing list