Module Name: src
Committed By: christos
Date: Thu Feb 1 03:32:00 UTC 2018
Modified Files:
src/external/ibm-public/postfix/dist/src/smtpd: smtpd.c
Log Message:
give one more reply to the client before we potentially block it.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c
diff -u src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c:1.15 src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c:1.16
--- src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c:1.15 Wed Jan 31 22:29:41 2018
+++ src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c Wed Jan 31 22:32:00 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: smtpd.c,v 1.15 2018/02/01 03:29:41 christos Exp $ */
+/* $NetBSD: smtpd.c,v 1.16 2018/02/01 03:32:00 christos Exp $ */
/*++
/* NAME
@@ -5050,9 +5050,9 @@ static void smtpd_proto(SMTPD_STATE *sta
if (state->error_count >= var_smtpd_hard_erlim) {
state->reason = REASON_ERROR_LIMIT;
state->error_mask |= MAIL_ERROR_PROTOCOL;
- pfilter_notify(1, vstream_fileno(state->client));
smtpd_chat_reply(state, "421 4.7.0 %s Error: too many errors",
var_myhostname);
+ pfilter_notify(1, vstream_fileno(state->client));
break;
}
watchdog_pat();