Download | Plain Text | Line Numbers
diff -Naur dovecot-2.2.21.orig/src/auth/auth-penalty.c dovecot-2.2.21/src/auth/auth-penalty.c
--- dovecot-2.2.21.orig/src/auth/auth-penalty.c 2015-12-09 16:39:10.000000000 +0100
+++ dovecot-2.2.21/src/auth/auth-penalty.c 2016-02-18 18:20:31.142892375 +0100
@@ -78,6 +78,7 @@
} else if (sscanf(reply, "%u %lu", &penalty, &last_penalty) != 2) {
i_error("Invalid PENALTY-GET reply: %s", reply);
} else {
+#if 0
if ((time_t)last_penalty > ioloop_time) {
/* time moved backwards? */
last_penalty = ioloop_time;
@@ -92,6 +93,7 @@
drop_penalty--;
penalty--;
}
+#endif
}
request->callback(penalty, request->auth_request);