On Tue Mar 30 2004 at 11:12:51 CEST, Mehnert wrote:
> we are using mail traffic accounting based on the exim acl patch and
> we have a problem. When a mail cannot be delivered and it has to be
> retried it is accounted again. So some big mails not being delivered
> immediately sometimes give us wrong values in our accounting.
Maybe you could add a column (message_id) with a unique index to your
database table and add the message-id to your INSERT statement. The SQL
would fail upon the next try (because of duplicate indeces) but you could
ignore that error.
-JP