[dev] [PATCH] Ingo, enable multiple sieve backends
Rui Gouveia
rgouveia at fc.up.pt
Wed Mar 9 12:03:15 PST 2005
--=-S/hru/19cg89P5RSPSF4
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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
--=-S/hru/19cg89P5RSPSF4
Content-Description: This is a digitally signed message part
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.horde.org/archives/dev/attachments/20050309/3d405ce3/attachment.bin
--=-S/hru/19cg89P5RSPSF4--
More information about the dev
mailing list