[RCU] Roundtrip address book export/import broken

Achim achim+roundcube at qustodium.net
Thu Apr 12 12:02:02 CEST 2012


Hello again:

The exports from my RC SQL address book look like this:

BEGIN:VCARD
VERSION:3.0
FN:John Doe
EMAIL;type=INTERNET:john.doe at example.com
END:VCARD

Importing that kind of card fails silently.

Manually adding the N line and editing the email line to read like this 
(adding ";type=WORK")

N:Doe;John;;;
EMAIL;type=INTERNET;type=WORK:john.doe at example.com

so that the final VCF looks like this:

BEGIN:VCARD
VERSION:3.0
N:Doe;John;;;
FN:John Doe
EMAIL;type=INTERNET;type=WORK:john.doe at example.com
END:VCARD

makes the import from a default RC sql export work. Two observations:

1) Would it be possible to automagically populate "N" if it does not 
exist (using FN)?
2) My fieldmap has 'email:work'  => 'mail', which explains the 
requirement for type=WORK. Is it possible to map several field (HOME, 
...) to the same destination LDAP field?

Thanks, Achim


More information about the users mailing list