[imp] Multiple IMAP servers / select server by hook

Michael Dawart md at neuewerte.de
Mon Sep 2 18:04:58 UTC 2013


Dear List,

I found some posts regarding the dynamic selection of IMAP server in
the imp mailing archives. It is a little confusing for me. Somebody
wrote that there is an example in the hooks on how to dynamically
change the imap server on login.

In the hooks.php.dist I found the description of the preauthenticate
and applied it to the example from the wiki
http://wiki.horde.org/ImapSelect

But it seems as the new version does not use  $_SESSION['imp'][$key]
variable to store the server name etc. For me it looks as you have to
use a kind of IMAP Server object.
Unfortunately I did not found anything on how to set / modify server
name instead, can you give me a hint?

I'm using this versions:
Horde Horde (horde) 5.1.2
Webmail Webmail (imp) 6.1.3

Thank you very much,

Yours, Michael


More information about the imp mailing list