[imp] user-settings vanish after server-change

Jan Schneider jan at horde.org
Thu Jan 29 05:46:51 PST 2004


Zitat von "Dr. Martin Körfer" <koerfer at mpch-mainz.mpg.de>:

> using horde 2.0, IMP 3.0 with PstgreSQL 7.2.1
> I got some trouble when changing the "IMP Mail Server"
> trough the "IMP Webmail Administration"-tool.
> In the field "Modify Mail Server List" I added a second server
> (besides "localhosr"):
> mailserver.mpch-mainz.mpg.de (running the same horde-IMP-IMAP-aplication).
> All went fine, but:
> the -users-settings- (created when running "localhost") were no longer
> accessible from the users and must be rebuilt.
> After running (on localhost): "pg_dump horde > test"
> I saw (for every user) different entries for the two different servers
> "lcalhost" and "mailserver.mpch-mainz.mpg.de".

Don't use a realm in config/servers.php.

> How can I synchronize these entries that they can be seen independent 
> from what
> server is running ?

Yes, with changing the fields in your preference db table. But be aware of
duplicate entries.

> Propably someone can give me some hints about the interactive use of the
> "psql"-tool, as I have only little experience with "PostgreSQL".
> Can I make changes of the database through this tool even when the
> horde-IMP-IMAP-application is running ???

That should work, but to be sure you can stop serving IMP for a few seconds
while run the sql to fix your db.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list