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, generate
> a cryptographic hash of the message (either the whole thing, or just
> the body) with md5 or something, and compare those.

There is already at least one, possible two mail filters which store
hashes along with message-ID's to detect duplicate emails.  They're
linked from the qmail web page I believe.  They're meant to be used
from .qmail files, but they might be easily adapted to be used from
other places too, I think (haven't tried though).


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Managing senior programmers is like herding cats."  -- Dave Platt

Reply via email to