Created
June 6, 2019 17:36
-
-
Save ryancdotorg/2643c2662a7e0f7554ecec295fb23c0c to your computer and use it in GitHub Desktop.
patch to allow exim's `${run {...}}` expansion to be globally disabled. Add `forbid_run = true` to exim's main config.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- old/src/readconf.c 2019-03-09 20:41:17.000000000 +0000 | |
+++ new/src/readconf.c 2019-03-13 07:44:59.855569375 +0000 | |
@@ -152,6 +152,7 @@ | |
{ "extra_local_interfaces", opt_stringptr, &extra_local_interfaces }, | |
{ "extract_addresses_remove_arguments", opt_bool, &extract_addresses_remove_arguments }, | |
{ "finduser_retries", opt_int, &finduser_retries }, | |
+ { "forbid_run", opt_bit | (RDON_RUN << 16), &expand_forbid }, | |
{ "freeze_tell", opt_stringptr, &freeze_tell }, | |
{ "gecos_name", opt_stringptr, &gecos_name }, | |
{ "gecos_pattern", opt_stringptr, &gecos_pattern }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment