Hello,
> 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.
The checksum idea was concomitant with breaking messages down
and saving individual components (file attachments, etc.), and yes,
it would certainly be of little/no value against a whole message.
As for the MTA->dbmail-smtp interaction, I'm sure it depends on
what MTA you're using. Postfix hands the entire recipient address
list to to dbmail-smtp, so it will be able to take advantage of this.
>From pipe(8) man page:
A command-line argument that contains ${recipient} expands
into as many command-line arguments as there are recipients.
Jesse
--
Jesse Norell
jesse (at) kci.net