Yahoo Groups archive

Milter-greylist

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

Message

Re: race condition ?

2005-04-12 by Martin Paul

> From: manu@...
>
> Sure it does. That's why it would be good to test that the change has no
> side effet and if it's alright, we'll have it in the next beta.

Ok, I have recompiled milter-greylist 1.6 with the following change
to pending.c now:

305c305,311
<                       if (rest < 0) {
---
>                       if (rest <= 0) {
>                               if (rest == 0) {
>                                       syslog(LOG_DEBUG, 
>                                           "rest is 0: %s from %s to %s",
>                                           pending->p_addr, pending->p_from,
>                                           pending->p_rcpt);
>                               }

The extra syslog statement has been added to identify problematic
messages with rest==0, and to see whether they are handled correctly
now.

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.

mp.

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.