Roundcube Community Forum

 

SquirrelMail to Round Cube Migration

Started by ntc_nepal, July 26, 2010, 05:12:36 AM

Previous topic - Next topic

ntc_nepal

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

rosali

There is a plugin to import Squirrelmail users into Roundcube (squirrelmail_usercopy). It should import the Squirrelmail addressbook aswell.

/trunk ? Roundcube Webmail
Regards,
Rosali

ABerglund

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.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Mircea Tanciu

#3
Quote from: rosali;28944There is a plugin to import Squirrelmail users into Roundcube (squirrelmail_usercopy). It should import the Squirrelmail addressbook aswell.

/trunk ? Roundcube Webmail

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.

ABerglund

Try changing this:

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

To this:

$rcmail_config['squirrelmail_data_dir'] = '/path_to/vmaildir/prefs';
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA