summaryrefslogtreecommitdiffstats
path: root/qmail-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'qmail-remote.c')
-rw-r--r--qmail-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmail-remote.c b/qmail-remote.c
index dc00d08..b865b4d 100644
--- a/qmail-remote.c
+++ b/qmail-remote.c
@@ -951,7 +951,7 @@ char **argv;
951#endif 951#endif
952 smtp(); /* only returns when the next MX is to be tried */ 952 smtp(); /* only returns when the next MX is to be tried */
953 } 953 }
954 tcpto_err(&ip.ix[i].ip,errno == error_timeout); 954 tcpto_err(&ip.ix[i].ip,errno == error_timeout || errno == error_refused);
955 close(smtpfd); 955 close(smtpfd);
956 } 956 }
957 957