Module Name:    src
Committed By:   christos
Date:           Fri Sep 25 12:52:59 UTC 2020

Modified Files:
        src/external/bsd/blocklist/diff: postfix.diff

Log Message:
Add one more place to notify blocklistd


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/blocklist/diff/postfix.diff

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/blocklist/diff/postfix.diff
diff -u src/external/bsd/blocklist/diff/postfix.diff:1.2 src/external/bsd/blocklist/diff/postfix.diff:1.3
--- src/external/bsd/blocklist/diff/postfix.diff:1.2	Sun Jun 14 22:29:45 2020
+++ src/external/bsd/blocklist/diff/postfix.diff	Fri Sep 25 08:52:59 2020
@@ -80,3 +80,19 @@ diff -u -r1.6 Makefile
  DPADD+=	${LIBPTLS} ${LIBSSL} ${LIBCRYPTO}
  LDADD+=	${LIBPTLS} -lssl -lcrypto
  
+Index: dist/src/smtpd/smtpd.c
+===================================================================
+RCS file: /cvsroot/src/external/ibm-public/postfix/dist/src/smtpd/smtpd.c,v
+retrieving revision 1.17
+diff -u -u -r1.17 smtpd.c
+--- dist/src/smtpd/smtpd.c	18 Mar 2020 19:05:20 -0000	1.17
++++ dist/src/smtpd/smtpd.c	25 Sep 2020 12:51:52 -0000
+@@ -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));
+ 	}
+     }
+ 

Reply via email to