[horde] Horde with different IMAP servers

Jan Schneider jan at horde.org
Fri Feb 23 10:26:49 PST 2007

Zitat von Mayra del Río López <mayra at fib.upc.edu>:

>  Hello,
> we're setting up a Horde-CAS installation with different IMAP  
> servers for authentication, for this we have different  
> configurations in horde/imp/config/servers.php and we use the  
> horde-hook-preauthenticate function to select one.
> The problem is that when Horde saves preferences (or anything else)  
> the name of the user is only the username, instead of  
> username at domain.We have different domains per IMAP server, so we are  
> interested in saving the domain, too. When users log in they only  
> write the username, without the domain. We have tried to change the  
> $servers[imap][realm] and $_SESSION[imp][realm] parameters in  
> horde-hook-preauthenticate function with no result.

And does the imap server expect user names with domains? If yes,  
create a vinfo hook. If not, create username_from_backend and  
username_to_backend hooks.


Do you need professional PHP or Horde consulting?

More information about the horde mailing list