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

28 lines
627 B
C

--- sendmail/readcf.c.orig 2025-10-23 19:33:31 UTC
+++ sendmail/readcf.c
@@ -3213,6 +3213,11 @@ static struct optioninfo
{ "SameDomainOnly", O_SAMEDOMAINONLY, OI_NONE },
#endif
+#if USE_BLOCKLIST
+# define O_BLOCKLIST 0xfb
+ { "UseBlocklist", O_BLOCKLIST, OI_NONE },
+ { "UseBlacklist", O_BLOCKLIST, OI_NONE }, /* alias */
+#endif
{ NULL, '\0', OI_NONE }
};
@@ -4944,6 +4948,12 @@ setoption(opt, val, safe, sticky, e)
#if _FFR_MTA_STS
case O_MTASTS:
StrictTransportSecurity = atobool(val);
+ break;
+#endif
+
+#if USE_BLOCKLIST
+ case O_BLOCKLIST:
+ UseBlocklist = atobool(val);
break;
#endif