How to import Mozilla adress book to neomail

Tom Eicher <[email protected]>
Newsgroups gmane.mail.neomail.general
Organization private site in Schwabing, Germany
Message-ID <[email protected]>
How to import Mozilla adress book to neomail
--------------------------------------------

1. export adress book as ldif file
2. manually edit the file to fix all names
    containing umlauts (search for "cn::" and
    modify the "cn:: gjshdfjhGARBLEDJkjskjsd"
    lines to "cn: the display name"
    Also, get rid of all commas
    :1,$s/,//g
3. extract names and adresses
    grep "^mail:" adresses.ldif >a
    grep "^cn:" adresses.ldif >n
4. remove headings in vi.
    File a: :1,$s/^......//g
    File n: :1,$s/^....//g
5. join the files
    paste -d"|" n a >x
6. add the empty commas in file x
    :1,$s/|/,,,,,,/g
    :1,$s/$/,,,,,,,,,,,,,/g
7. all lines should now look like
    The name,,,,,,the@adress,,,,,,,,,,,,,
8. use neomail web interface to import the file x
    voila.

Tom Eicher - [email protected] - 05-April-2003




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.