Module Name: src Committed By: christos Date: Fri Sep 25 12:52:13 UTC 2020
Modified Files: src/external/ibm-public/postfix/dist/src/smtpd: smtpd.c Log Message: Notify blacklistd about smtp auth failures (Jeff Rizzo) To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 \ 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.17 src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c:1.18 --- src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c:1.17 Wed Mar 18 15:05:20 2020 +++ src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c Fri Sep 25 08:52:12 2020 @@ -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 @@ static void smtpd_proto(SMTPD_STATE *sta || 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)); } }