Hello,

  Attached is a patch that fixes the race condition
encountered with multiple dbmail-smtp processes running (ie.
simultaneous deliveries).  It makes the unique_id unique
by process id and system time - so, if you have multiple
machines running dbmail to the same database, you'd still
have a race condition if the dbmail-smtp processes got the
same pid at the same second on the system clocks, but in
that event postfix will requeue the message and send it later.


> unique_id fixes       tmp empty value fails with database constraints
> 
>               I made a patch not long ago, which still has
>               problems with multiple dbmail-smtp's injecting
>               simultaneously - I'll try to have a new fix
>               for that soon.

Jesse


--
Jesse Norell
[EMAIL PROTECTED]

Attachment: unique_id.patch
Description: Binary data

Reply via email to