I found some books were not converted automatically when the format used by openwebmail changed.
VCard format may also be needed if you are moving to an alternate webmail client
Code: Select all
cat .address.book.old|cut -d' ' -f2-|sed 's/cn=/BEGIN:VCARD\'$'\n''FN:/g'|sed 's/@@@mail=/\'$'\n''EMAIL:/g'|sed 's/@@@$/\'$'\n''END:VCARD\'$'\n''/g' >> addressbook.vcf
to this format:dn cn=@@@mail=joykyc@bexxxet.tld@@@
dn cn='Karen & Phil Scott'@@@mail=phil.scott@syxxxxxco.tld@@@
dn cn=Alan Smith@@@mail=asmith@alxxon.tld@@@
BEGIN:VCARD
FN:
EMAIL:joykyc@bexxxet.tld
END:VCARD
BEGIN:VCARD
FN:'Karen & Phil Scott'
EMAIL:phil.scott@syxxxxxco.tld
END:VCARD
BEGIN:VCARD
FN:Alan Smith
EMAIL:asmith@alxxon.tld
END:VCARD