Author Topic: SquirrelMail to Round Cube Migration  (Read 9521 times)

Offline ntc_nepal

  • Newbie
  • *
  • Posts: 5
SquirrelMail to Round Cube Migration
« 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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
SquirrelMail to Round Cube Migration
« Reply #1 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
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
SquirrelMail to Round Cube Migration
« Reply #2 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.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline Mircea Tanciu

  • Jr. Member
  • **
  • Posts: 14
SquirrelMail to Round Cube Migration
« Reply #3 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

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.
« Last Edit: August 06, 2010, 08:32:24 AM by Mircea Tanciu »

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
SquirrelMail to Round Cube Migration
« Reply #4 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';
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA