[imp] About Multiple Servers Config...

Jan Schneider jan@horde.org
Fri, 19 Apr 2002 12:50:55 +0200


Zitat von "K." <k@k.udg.es>:

> 1.- Let's supose horde framework is installed on server1.domain.com.
> But I login to imap server on server2.domain.com, then i can't
> achieve that the "From" adress on the outgoing mail is user@
> server2.domain.com, or in other words, the "from" adress is
> exactly user@mail-server-typed-in-login-screen.

This is the purpose of the "from" hook in imp/config/conf.php. You can get 
the imap server name from $imp['server'] and build the from address with it.
 
> 2.- When I was using Horde 1.2 + imp 2.2, the adressbook was running
> perfect, even when 2 users with same username logs on two diferent
> servers. Now, because Turba does not save the server part on owner_id
> i've found that two users with same name, which logons on two diferent
> servers, they see the same entries on the Adressbook.

That's what the "namespace" parameter in config/servers.php is for. It gets 
automatically appended to the user name.

Jan.

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