[Users] How to generate UID's for address books

wwp subscript at free.fr
Fri Sep 28 00:15:43 CEST 2018


Hello Laurent,


On Thu, 27 Sep 2018 21:39:12 +0200 Laurent Bloch <lb at laurentbloch.org> wrote:

> Thank you for your help, Leon. While reading the Perl program
> I understood that the UID was just the date in seconds since 1970-01-01
> 00:00:00 UTC. I hope Claws-Mail will be happy with that!
> 
> Good evening (if you are in Europe :-)

Any UID, as in any unique identifier (unsigned int). Just make sure
the number is unique, pick a random one if you want; the date in
seconds since epoch is a good pick non-random one but be sure you're
not creating several ones during the same second ;-).


Regards,

> Le jeudi 27 septembre 2018 Leon Fisk a écrit ceci :
> 
> > On Thu, 27 Sep 2018 15:34:59 +0200
> > Laurent Bloch <lb at laurentbloch.org> wrote:
> >   
> > >Hi,
> > >
> > >In order to register my students in my Claws-Mail address book,
> > >I would like to write a program to read a CSV file with the names
> > >and e-mail addresses of the students, and to write a LDIF file
> > >which I could give to Claws-Mail (the CSV file is given to me
> > >by the administrative guys of the university).    
> > 
> > <snip>
> > 
> > This doesn't exactly answer your question, but have you looked at the
> > tools here:
> > 
> > https://www.claws-mail.org/tools.php?section=downloads
> > 
> > A long time ago I used the "csv2addressbook.pl" to convert my a CSV
> > file with my addresses for use with Claws. If I remember correctly I had
> > to make a few mods but nothing all that difficult...
> > 
> > -- 
> > Leon
> > Claws 3.16.0, Ubuntu Lucid
> > _______________________________________________
> > Users mailing list
> > Users at lists.claws-mail.org
> > https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users  

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20180928/45c4e6c3/attachment.sig>


More information about the Users mailing list