[imp] Fwd: mailbox.php

Jan Schneider jan@horde.org
Wed, 27 Feb 2002 01:32:19 +0100


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> ----- Forwarded message from Jigme Tenzing <mirage09_79@yahoo.com> -----
> code that you wrote. If I want imp to first access an
> ldap server, to get the actual mailbox, or the name of
> the server that has the mail box for the user, where
> would I write that code. I'm using the extended schema
> that LASER provides for mail routing. The
> inetLocalMailRecipient object class, and
> mailRoutingAddress, mailLocalAddress, mailHost,
> attributes, that it provides. I'm not sure where I
> would be required to put the code. Actually, what I'm
> going to do is take the imp[user] as the search field,
> to get the mailHost or the mailRoutingAddress of that
> user, and thus get the address of the imap server. but
> I'm not to sure where I'll have to put this code. I

The server is selected in redirect.php. So if you can determine the correct 
server from the username used at login you can probably put some code there 
to select the correct server from a list you defined in config/servers.php 
before.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft