Hello:

I am trying to migrate contacts from Squirrelmail to SOGo. I am using the script addressbook.pl found in the sogo sources.

I run the script with this parameters

./addressbook.pl --config default.conf --username user1 --verbose=2 user1.abook

default.conf:

[sogo]
url = http://localhost/
username = sogo
password = secretpassword

[addressbooks]
folder_destination = "importados"

Folder "importados" for user1 exists but the script displays the next error

2012/04/10 10:35:21 WARN> [user1] HTTP request PROPFIND user1: 302 Found
2012/04/10 10:35:21 INFO> [user1] Addressbook "importados" doesn't exist
2012/04/10 10:35:21 WARN> [user1] HTTP request MKCOL user1: 302 Found
2012/04/10 10:35:21 ERROR> [user1] File user1.abook skipped (missing destination addressbook)

Anyone using this script to import contacts?

Also, any idea to run the script when the user log in the first time?

Thanks

Federico
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to