3 Jul
2010
3 Jul
'10
9:44 a.m.
User: NigelCunningham Branch: HEAD Date: Sat, 03 Jul 2010 09:44:39 +0000 Modified files: /modules/mailfix mailfix.module Log message: Prior to this commit, there is a race condition in updating the database. If an email message is received at the same time as an update, and Postfix queries the database between the DELETE and INSERT queries, it will not find the user's account and will incorrectly bounce the incoming email. This patch fixes that race by changing the DELETE and INSERT into an UPDATE and (if no existing rows are affected) INSERT. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/mailfix/mailfix.mo...