So, I've been digging through various RFC's for a project I'm working on
and I came upon the following passage in RFC 2557

   Note: Content-IDs MUST be globally unique [MIME1]. It is thus not
   permitted to make them unique only within a message or within a
   single multipart/related structure.


   [MIDCID]        Levinson, E., "Content-ID and Message-ID Uniform
                   Resource Locators", RFC 2387, August 1998.

   [MIME1]         Freed, N. and N. Borenstein, "Multipurpose Internet
                   Mail Extensions (MIME) Part One: Format of Internet
                   Message Bodies", RFC 2045, December 1996.

My question to you all is, what's a good way to generate a GLOBALLY unique
ID (the rfc's specify that it is world-unique, not just unique to message)

My first idea was to use an md5 hash of the filename and date, but I can
see some problems with that. 

Is there a good way to guarantee that CID's are acceptably unique? 

thanx,


http://www.efn.org/~laprice        ( Community, Cooperation, Consensus
http://www.opn.org                 ( Openness to serendipity, make mistakes
http://www.efn.org/~laprice/poems  ( but learn from them.(carpe fructus ludi)

Reply via email to