[Tickets #3701] custom hook support for backend selection

bugs@bugs.horde.org bugs at bugs.horde.org
Wed May 24 12:46:02 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=3701
-----------------------------------------------------------------------
 Ticket             | 3701
 Updated By         | srrafa at usc.es
 Summary            | custom hook support for backend selection
 Queue              | Ingo
 Version            | 1.1
 State              | Feedback
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


srrafa at usc.es (2006-05-24 12:46) wrote:

> Sorry if I was unclear - new features should always be against HEAD, 
> not a release version (see http://horde.org/source/contribute.php), 
> so that's what I was applying it against.

Ok. Sorry for that. I use to work on stable releases to get the patches
working on our production system as fast as possible.

I'll modify it using a CVS checkout if you finally find this patch useful.

> What about my question on why this is necessary?

Well, getBackend() in lib/Ingo.php selects the backend wich its 'preferred'
field equals $_SERVER['SERVER_NAME'] or $_SERVER['HTTP_HOST']

In our University we have only one URL to access the webmail system but
three different IMAPservers wich need different backends (procmail and
sieve, the 3rd server is Exchange), so the unpatched system always uses the
same backend. 

Currently, I have no idea on how to achieve this using backends.php




More information about the bugs mailing list