Hi,
I have two general mail questions:
1. can it be guaranteed that _EVERY_ email has a message-id?
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 wit
Robert Chien <[EMAIL PROTECTED]> wrote:
> I have two general mail questions:
>
> 1. can it be guaranteed that _EVERY_ email has a message-id?
Every message is _supposed_ to have a unique message id by the time it leaves
its first SMTP relay -- incoming SMTP traffic is supposed to be scanned
for
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
Charles Cazabon <[EMAIL PROTECTED]> wrote on Thu, 13 Jan 2000:
> You can generate an ID for them. But you shouldn't really use message ID to
> detect duplicates, although its a common practice. Message IDs are supposed
> to be unique, but sometimes aren't. If you want to do it properly, generat
> 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?
No need for the perl mon
On Fri, Jan 14, 2000 at 12:19:08PM +, Lars Hecking wrote:
> No need for the perl monster. procmail+formail can do it nicely,
> and examples for what you want to do are more than likely in the
> procmailex(5) man page.
True enough - but if one is filtering duplicates based on message IDs,
Thomas Ribbrock <[EMAIL PROTECTED]> wrote on Sat, 15 Jan 2000:
> True enough - but if one is filtering duplicates based on message IDs, it
> won't work for sent mail (i.e. the local copies of mail you sent yourself),
> as those don't have any message ID.
Except of course if you sent the email wit