aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail-devel/files/patch-readcf.c
blob: f388cec6b82799ea3a2c2f3bfbae529efe153eb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- sendmail/readcf.c.orig	2025-10-23 19:33:31 UTC
+++ sendmail/readcf.c
@@ -3213,6 +3213,10 @@ static struct optioninfo
 	{ "SameDomainOnly",		O_SAMEDOMAINONLY,	OI_NONE	},
 #endif
 
+#if USE_BLACKLIST
+# define O_BLACKLIST		0xfb
+	{ "UseBlacklist",	O_BLACKLIST,	OI_NONE	},
+#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_BLACKLIST
+	  case O_BLACKLIST:
+		UseBlacklist = atobool(val);
 		break;
 #endif