Re: [exim] BATV stops working: prvscheck: signature expired

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tom Kistner
Date:  
À: Jan-Piet Mens
CC: exim-users
Sujet: Re: [exim] BATV stops working: prvscheck: signature expired
Jan-Piet Mens schrieb:

> 13:06:15 15374 prvscheck: received hash is b745ee
> 13:06:15 15374 prvscheck:      own hash is b745ee
> 13:06:15 15374 prvscheck: signature expired, $pvrs_result unset


> Can somebody kindly tell me where this is going wrong, or what I've
> broken?


Not your fault. An off-by-one error in the expiry date calculation. This
happens every 1000 days only. Next occurence would be early in 2011.

Find the patch attached, maybe you can apply it before midnight :)

Thanks,

/tom


--- expand.c~   2008-04-24 20:23:36.000000000 +0200
+++ expand.c    2008-04-24 20:23:36.000000000 +0200
@@ -3818,7 +3818,7 @@
               Adjust "inow" accordingly. */
            if ( (iexpire < 7) && (inow >= 993) ) inow = 0;


-          if (iexpire > inow)
+          if (iexpire >= inow)
              {
              prvscheck_result = US"1";
              DEBUG(D_expand) debug_printf("prvscheck: success, 
$pvrs_result set to 1\n");

--- expand.c~    2008-04-24 20:23:36.000000000 +0200
+++ expand.c    2008-04-24 20:23:36.000000000 +0200
@@ -3818,7 +3818,7 @@
              Adjust "inow" accordingly. */
           if ( (iexpire < 7) && (inow >= 993) ) inow = 0;


-          if (iexpire > inow)
+          if (iexpire >= inow)
             {
             prvscheck_result = US"1";
             DEBUG(D_expand) debug_printf("prvscheck: success, $pvrs_result set to 1\n");