Re: Message-ID



yonido@xxxxxxxxx wrote:
hello

i need to find a unique identifier for emails, so that if user A
forwards a message to B, and B to C, and so on... in user Z i can still
know that its the mail user A started.

when user A creates a message, it gets a Message-ID.
i found that most web based mail preserve this ID in some way (some put
it in "In-Reply-To" field, like gmail - when u FWD), others in
"References" header..
But outlook, for instance - totally kills it when i forward..

is there a way to do so? thanks.


As you've noticed, the string in the Message-ID: header is not a very good way to identify emails. It's broken in some server software in that the software applies the same message id to every outgoing mail.
Other server software may re-write it on the fly, and leave out references to older message-id headers. Also, quite often the Message-ID: header will contain forged domain names as part of the string.

The only way to do what you want with any degree of reliability is to use cryptographic signatures on the message body. This can be done using S/MIME, PGP, or GNUPG protocols which are all compatible with email. The person who initiates the message needs to sign it with their private key. After that anyone down the line who wants to verify the signature needs the originators public key to verify the signature. To avoid any intermediate server software from tampering with a signed message body (thus invalidating the signature), it's best to base64 encode the body after the signature before sending the message. That last part depends on the route the message is likely to take. Some servers may tamper with the message body, others might not. ie: convert the message body to QP (quoted printable) encoding on the fly.

--
Garen
.



Relevant Pages

  • Re: C : how to export raw YUV to a file ?
    ... > message body, ignoring all other headers, and it would be fine. ... especially if not all of the signing parties are signing the entire ... able to verify the original author's signature. ... not in any client I'm familiar with. ...
    (comp.programming)
  • Outlook 2003 Email Signature Nightmares
    ... I have set everybody's email to HTML format, ... I created a brand new signature in Word, using the signature Advanced Edit, ... emails sent to him, and creating new emails. ... the signature changes back to full justify. ...
    (microsoft.public.outlook)
  • Re: simple script to read and parse mailbox
    ... Sorry to bovver you again here's script. ... the plain text message body of an emails in the testwwws users mailbox. ... # 'r+' opens the file for both reading and writing. ...
    (comp.lang.python)
  • Re: [PHP] Cannot send a hyperlink
    ... It starts to read it as text and not html?? ... Either that or spend a few days learning about the structure of emails by following the links Daniel Brown sent you a few emails ago. ... You have things in the message body that should be in the headers. ... You should use http:// prior to the FQDN. ...
    (php.general)
  • Re: Paypal Reversal
    ... Sale was on 8th april, Paypal only advised me of chargeback this morning,. ... Paypal were advised that I have tracking information and signature on ... It took about 20 emails to PP before they finally caved ... in and made an 'ex gratia' refund of £50.They gave every excuse under the ...
    (uk.people.consumers.ebay)