Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: race condition ?

2005-04-19 by Martin Paul

> From: manu@...
>> Martin Paul <martin@...> wrote:
>> 
>> I will run this version from now on, and report any side effects,
>> and whether it fixes the problem I saw. This can take quite some
>> time, as I only had 3 of those messages in about 3 weeks.
> 
> No problem, we'll wait one week.

I have been running the modified version of milter-greylist for one
week now. No ill side-effects showed up during that time, and I had
one message (where rest==0) which was now handled correctly. So I 
recommend adding the following change to pending.c (the files are
equal in version 1.6 and 2.0b5, so the fix can be applied to both):

  $ diff pending.c.orig pending.c
  305c305
  <                       if (rest < 0) {
  ---
  >                       if (rest <= 0) {

mp.
-- 
                         Martin Paul | Systems Administrator
   Institute of Scientific Computing | martin@...
 Nordbergstrasse 15/C/3, A-1090 Wien | Tel: 01 4277 39403
        http://www.par.univie.ac.at/ | Fax: 01 4277 9394

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.