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 Notify blacklistd...



details:   https://anonhg.NetBSD.org/src/rev/26e46f8fc439
branches:  trunk
changeset: 1014514:26e46f8fc439
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 25 12:52:12 2020 +0000

description:
Notify blacklistd about smtp auth failures (Jeff Rizzo)

diffstat:

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

diffs (18 lines):

diff -r 225832b6a948 -r 26e46f8fc439 external/ibm-public/postfix/dist/src/smtpd/smtpd.c
--- a/external/ibm-public/postfix/dist/src/smtpd/smtpd.c        Fri Sep 25 06:49:13 2020 +0000
+++ b/external/ibm-public/postfix/dist/src/smtpd/smtpd.c        Fri Sep 25 12:52:12 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smtpd.c,v 1.17 2020/03/18 19:05:20 christos Exp $      */
+/*     $NetBSD: smtpd.c,v 1.18 2020/09/25 12:52:12 christos Exp $      */
 
 /*++
 /* NAME
@@ -5795,6 +5795,8 @@
                   || strcmp(state->reason, REASON_LOST_CONNECTION)) {
            msg_info("%s after %s from %s",
                     state->reason, state->where, state->namaddr);
+           if (strcmp(state->where, SMTPD_CMD_AUTH) == 0)
+               pfilter_notify(1, vstream_fileno(state->client));
        }
     }
 



Home | Main Index | Thread Index | Old Index