On Thu, Jan 13, 2000 at 06:31:37PM -0800, Robert Chien wrote:

> 1. can it be guaranteed that _EVERY_ email has a message-id?

No. 

> 2. if not, can you generate a message-id?
> 
> Background: I'd like to write a perl script whose input is a
> mail folder, and the script looks at each individual email's
> message-id and do something with it (if it sees a duplicate,
> then ignore the duplicate, etc). If it doesn't find one,
> what should be done?

Check out "formail" (comes with procmail). You can use it
to generate unique message id's, filter out duplicates, and
a lot of other useful mail formatting jobs.

R.

> Robert

Reply via email to