Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: ntc_nepal on July 26, 2010, 05:12:36 AM

Title: SquirrelMail to Round Cube Migration
Post by: ntc_nepal on July 26, 2010, 05:12:36 AM
Hello All,

How can I migrate the existing  address book before the user login to roundcube.
The mysql user_id table is populated when the user logs in. But to migrate address book in contacts table we require user_id.
so is there any script that can migrate existing squirrelmail users  and populate user_id field of users table ?

Regards
Title: SquirrelMail to Round Cube Migration
Post by: rosali on July 26, 2010, 07:35:51 AM
There is a plugin to import Squirrelmail users into Roundcube (squirrelmail_usercopy). It should import the Squirrelmail addressbook aswell.

/trunk ? Roundcube Webmail (http://trac.roundcube.net/browser/trunk)
Title: SquirrelMail to Round Cube Migration
Post by: ABerglund on July 26, 2010, 11:07:58 AM
We used the squirrelmail_usercopy plugin with our migration. Our squirrelmail install used flat files for prefs, abooks and such, and plugin worked fine. One thing to note - If your squirrelmail users have created contact groups in squirrel, those groups will be broken on import. The way that squirrel does contact groups is fundamentally different than RC.
Title: SquirrelMail to Round Cube Migration
Post by: Mircea Tanciu on August 06, 2010, 08:29:26 AM
Quote from: rosali;28944
There is a plugin to import Squirrelmail users into Roundcube (squirrelmail_usercopy). It should import the Squirrelmail addressbook aswell.

/trunk ? Roundcube Webmail (http://trac.roundcube.net/browser/trunk)

Hello,
I have Roundcube 0.4beta installed and squirrelmail_usercopy plugin (version 1.3). The plugin is added in main.inc.php and config.inc.php is set with:
$rcmail_config['squirrelmail_driver'] = 'file';
$rcmail_config['squirrelmail_data_dir'] = '/path_to/vmaildir';
and squirrelmail address book files are in /path_to/vmaildir/prefs directory.
The plugin seems to not work and I can't see any logs if something goes wrong. Where in the Roundcube interface it's used or how it's working?
How can I set a logging facility to see what and when a plugin is beeing executed.
Thank you.
Title: SquirrelMail to Round Cube Migration
Post by: ABerglund on August 06, 2010, 11:08:00 AM
Try changing this:

$rcmail_config['squirrelmail_data_dir'] = '/path_to/vmaildir';

To this:

$rcmail_config['squirrelmail_data_dir'] = '/path_to/vmaildir/prefs';