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

Rui Gouveia rgouveia at fc.up.pt
Fri Mar 11 12:10:29 PST 2005


--=-ePV5lC0o+q96zcgQCj2I
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

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


--=-ePV5lC0o+q96zcgQCj2I
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/ingo/attachments/20050311/103ef204/Ingo.php.bin

--=-ePV5lC0o+q96zcgQCj2I--



More information about the ingo mailing list