Roel Rozendaal - IC&S wrote:
...
4) duplicate messages on insertion
This i don't see as a real option using checksums. It would be nice,
but probably no two messages are exactly the same - deliver time,
internal date and stuff will probably break the checksum giving only
minimal storage benefits with a lot of program logic added.
I'm not sure how the MTA calls upon dbmail-smtp, but calling it with all
the receipients at once would enable storing the message once for
multiple dbmail users - this would give the scenario of sending 10
coworkers a 10M video a huge benefit.
...
I see only one practical way to attain this, use the message body. This
would require abstracting messages from their headers. In other words,
each message would have a unique set of headers, but may share it's body
with another message. Attempting to split the body up into pieces along
MIME/etc. lines sounds like a fool's errand to me. I've dealt with code
to split/decode mail, and it was a mirky swamp.
I see this as a good middle ground solution, not too complicated, but
still useful.
Blake