Download | Plain Text | No Line Numbers


  1. diff -Naur dovecot-2.2.21.orig/src/auth/auth-penalty.c dovecot-2.2.21/src/auth/auth-penalty.c
  2. --- dovecot-2.2.21.orig/src/auth/auth-penalty.c 2015-12-09 16:39:10.000000000 +0100
  3. +++ dovecot-2.2.21/src/auth/auth-penalty.c 2016-02-18 18:20:31.142892375 +0100
  4. @@ -78,6 +78,7 @@
  5. } else if (sscanf(reply, "%u %lu", &penalty, &last_penalty) != 2) {
  6. i_error("Invalid PENALTY-GET reply: %s", reply);
  7. } else {
  8. +#if 0
  9. if ((time_t)last_penalty > ioloop_time) {
  10. /* time moved backwards? */
  11. last_penalty = ioloop_time;
  12. @@ -92,6 +93,7 @@
  13. drop_penalty--;
  14. penalty--;
  15. }
  16. +#endif
  17. }
  18.  
  19. request->callback(penalty, request->auth_request);
  20.