I think the passtime should use "now + passtime" not "now + expire",
Is it correct?

----------------------------------------------------------------
Index: libexec/spamd/grey.c
===================================================================
RCS file: /cvs/src/libexec/spamd/grey.c,v
retrieving revision 1.39
diff -u -r1.39 grey.c
--- libexec/spamd/grey.c        2007/03/18 18:38:57     1.39
+++ libexec/spamd/grey.c        2007/06/17 06:07:45
@@ -846,7 +846,7 @@
                gd.first = now;
                gd.bcount = 1;
                gd.pcount = spamtrap ? -1 : 0;
-               gd.pass = now + expire;
+               gd.pass = now + passtime;
                gd.expire = now + expire;
                memset(&dbk, 0, sizeof(dbk));
                dbk.size = strlen(lookup);
-----------------------------------------------------------------

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of spamd-grey.c.patch]

Reply via email to