Re: Importing mutt aliases into Netscape 7

2003-10-09 Thread joel
Thanks.
I exported my current address book to ldif, studied that format, then 
ran this script against my mutt aliases, and it actually worked. I 
attach it here in case anyone would fine it useful.

This is quick and dirty, YMMV.

s/alias /dn: cn\=/
s//,mail\=/
s///
s/ ,/,/
s/$/\nobjectclass: top/
s/$/\nobjectclass: person/
s/$/\nobjectclass: organizationalPerson/
s/$/\nobjectclass: inetOrgPerson/
s/$/\nobjectclass: mozillaAbPersonObsolete/
s/\(^dn: cn\=\)\([^,]*\)\(.*\)/\1\2\3\ncn: \2/
s/\(.*mail\=\)\([^\n]*\)\(.*\)/\1\2\3\nmail: \2/
s/$/\nmodifytimestamp: 0Z\n/
Joel

Kurt Wall wrote:

Quoth Joel Hammer:
 

Does anyone know of a way to import addresses from a text file like mutt 
aliases into a more convoluted file like the abook of mozilla?
Or,failing that, is there a simple explanation somewhere of the abook 
data format?
   

http://www.mozilla.org/mailnews/arch/index.html

Kurt
 

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Importing mutt aliases into Netscape 7

2003-10-08 Thread Joel Hammer
Does anyone know of a way to import addresses from a text file like mutt 
aliases into a more convoluted file like the abook of mozilla?
Or,failing that, is there a simple explanation somewhere of the abook 
data format?
Thanks,
Joel

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: Importing mutt aliases into Netscape 7

2003-10-08 Thread Kurt Wall
Quoth Joel Hammer:
 Does anyone know of a way to import addresses from a text file like mutt 
 aliases into a more convoluted file like the abook of mozilla?
 Or,failing that, is there a simple explanation somewhere of the abook 
 data format?

http://www.mozilla.org/mailnews/arch/index.html

Kurt
-- 
Really ??  What a coincidence, I'm shallow too!!
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users