Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/ibm-public/postfix/dist/src/smtpd give one more rep...



details:   https://anonhg.NetBSD.org/src/rev/ec1682aedd61
branches:  trunk
changeset: 829444:ec1682aedd61
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 01 03:32:00 2018 +0000

description:
give one more reply to the client before we potentially block it.

diffstat:

 external/ibm-public/postfix/dist/src/smtpd/smtpd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1a582e0118c4 -r ec1682aedd61 external/ibm-public/postfix/dist/src/smtpd/smtpd.c
--- a/external/ibm-public/postfix/dist/src/smtpd/smtpd.c        Thu Feb 01 03:29:41 2018 +0000
+++ b/external/ibm-public/postfix/dist/src/smtpd/smtpd.c        Thu Feb 01 03:32:00 2018 +0000
@@ -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 @@
            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();



Home | Main Index | Thread Index | Old Index