Files
ports/mail/sendmail/files/patch-sendmail.h
T
Dirk Meyer 61f6338738 mail/sendmail: Use blocklist
renamed option BLACKLISTD to BLOCKLISTD
PR: 294094
2026-03-29 10:09:30 +02:00

25 lines
531 B
C

--- sendmail/sendmail.h.orig 2025-11-26 16:02:45 UTC
+++ sendmail/sendmail.h
@@ -79,6 +79,10 @@ SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.
#endif
#include "bf.h"
+#if USE_BLOCKLIST
+#include <blocklist.h>
+#endif
+#include "blocklist_client.h"
#include "timers.h"
#include <sm/exc.h>
#include <sm/gen.h>
@@ -2809,6 +2813,10 @@ EXTERN int ConnectionRateWindowSize;
#endif
EXTERN int ConnectionRateWindowSize;
+
+#if USE_BLOCKLIST
+EXTERN bool UseBlocklist;
+#endif
/*
** Declarations of useful functions