From 3284e61d7a7a49620e64c7d634776f8bcf4f8119 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 20 May 2014 02:14:50 +0200 Subject: Treat ECONNREFUSED the same as ETIMEDOUT After an SMTP connection attempt times out, qmail-remote records the relevant IP address. If the same address fails again (after at least two minutes with no intervening successful connections), qmail-remote assumes that further attempts will fail for at least another hour. --- error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'error.h') diff --git a/error.h b/error.h index 5d98c6b..7c64e24 100644 --- a/error.h +++ b/error.h @@ -16,6 +16,7 @@ extern int error_again; extern int error_pipe; extern int error_perm; extern int error_acces; +extern int error_refused; extern char *error_str(); extern int error_temp(); -- cgit v1.2.3