[imp] address book, translating messages and other questions

Claus Heiko Niesen cniesen@gmx.net
Mon, 02 Jul 2001 08:54:26 -0500


At 08:30 AM 07/01/2001, you wrote:
>- After I managed to eliminate the server choice from the log in screen and
>logged in again, I was quite surprised to find that all my preferences were
>gone.  I then realized that my identity to the system had changed from
>"rbarnett" to "rbarnett@neuromics.com".  I had no idea that I was altering
>anything that fundamental.

Well your preferences are still there.  One of the config file probably got 
changed.  My guess would be the realm attribute of the servers.php 
file.  From the horde/imp/servers.php file:
* realm: What to append to usernames for preferences and Horde
* authentication to prevent login clashes on virtual host setups.
To restore the preferences you can either change the database keys to the 
appropriate realm or change the realm attribute in the servers.php file.  I 
probably would choose the first option so that the complete e-mail address 
is being used as the key.


>- My goal was to remove the user's ability to chose the server

I think you got it working but just in case you haven't your setup should 
be as follows:
horde/imp/config/conf.php
$conf['server']['server_list] = true;
$conf['server']['server_list_hidden'] = true;
And in horde/imp/config/servers.php specify the server you want to use.

If you would like the user to be able to choose from a fixed set of servers:
$conf['server']['server_list] = true;
$conf['server']['server_list_hidden'] = false;
And in horde/imp/config/servers.php specify the servers that should be aviable.

The default setting allows the user to enter any server info they want and 
the horde/imp/config/servers/php file is not used:
$conf['server']['server_list] = false;
$conf['server']['server_list_hidden'] = false;

   Claus