[dev] [PATCH] Ingo, enable multiple sieve backends

Rui Gouveia rgouveia at fc.up.pt
Wed Mar 9 12:09:22 PST 2005


--=-VpBm9VYgm0agnQPm5tdJ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Sorry!!! forgot the patch!!! :(

-------- Forwarded Message --------
Hi,

I have an installation of Horde/Imp that serves as a front-end for two
different Cyrus servers. They both use sieve as the filtering mechanism
and they both have a separate configuration in the
ingo/config/backend.php file.

However, no matter the choice of server at login, the first one was
always chosen. Additionally none of the Cyrus server's name match the
$_SERVER['SERVER_NAME'] or the $_SERVER['HTTP_HOST'] that Ingo tests for
preferred server.

After giving up the Google search for help, I start digging in the code
and I found a solution that works fine for me. In this solution the
selection of the Ingo backend is based on the server the user has chosen
in the login form ($_SESSION['imp']['server']).

I hope this patch can be of interest to someone else.


Thanks for reading.

Rui Gouveia
Faculty of Science.
Portugal


--=-VpBm9VYgm0agnQPm5tdJ
Content-Disposition: attachment; filename=Ingo.php.patch
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: Ingo.php.patch
Type: text/x-patch
Size: 1483 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20050309/cf6892fc/Ingo.php.bin

--=-VpBm9VYgm0agnQPm5tdJ--



More information about the dev mailing list