Yahoo Groups archive

Milter-greylist

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

Message

race condition ?

2005-04-08 by Martin Paul

Hi,

I'm using milter-greylist 1.6 with sendmail 8.13.2 under Solaris 9
for about 3 weeks now. I'm following log files closely, and for
thousands of messages it works without problems. I've noticed
a strange behaviour with some messages, though (three, until now).

When looking at the logfile entries one can see that a message was
correctly greylisted for 1 minute (as configured). The sending MTA
re-sent the message exactly after 1 minute, and milter-greylist
accepted the message and it was delivered. The strange thing is
that the message triplet was not removed from the greylist and
replaced by an auto-whitelist entry as it should be (and as it
happens correctly with all other messages). In all three cases
where this happened the mail was re-sent exactly after 1 minute.

Ideas, anyone ? 

Here are the logfile entries (sorry for the long lines):

First attempt:

Apr  7 09:21:53 milter-greylist: j377LruE001941: addr 131.130.32.158 from <rudolf.huerner@...> to <brezany@...> delayed for 00:01:00
Apr  7 09:21:53 sm-mta[1941]: j377LruE001941: Milter: to=<brezany@...>, reject=451 4.7.1 Greylisting in action, please come back in 00:01:00
Apr  7 09:21:53 sm-mta[1941]: j377LruE001941: from=<rudolf.huerner@...>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA-v4, relay=einstein.ani.univie.ac.at [131.130.32.158]

Second successfull attempt:

Apr  7 09:22:53 sm-mta[1970]: j377Mr4d001970: from=<rudolf.huerner@...>, size=3193, class=0, nrcpts=1, msgid=<4254DF85.3080701@...>, proto=SMTP, daemon=MTA-v4, relay=einstein.ani.univie.ac.at [131.130.32.158]
Apr  7 09:22:53 sm-mta[1970]: j377Mr4d001970: Milter add: header: X-Greylist: Delayed for 00:01:00 by milter-greylist-1.6 (kim.par.univie.ac.at [131.130.186.100]); Thu, 07 Apr 2005 09:22:53 +0200 (MEST)
Apr  7 09:22:57 sm-mta[1971]: j377Mr4d001970: to=<brezany@...>, delay=00:00:04, xdelay=00:00:04, mailer=local, pri=33556, dsn=2.0.0, stat=Sent

Contents from greylist.db after successfull delivery (wrong, should be AUTO):

# grep 131.130.32.158 /var/milter-greylist/greylist.db 
131.130.32.158  <rudolf.huerner@...>   <brezany@...>     1112858573 # 2005-04-07 09:22:53

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.