summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-05-12 15:01:12 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-05-12 15:01:12 +0100
commit159cf206c97f876b07829d92db2217689745c1e8 (patch)
tree86e641977ac3a31f5a78e7779b40c9e7aed81e3c /src
parentcd4a22176a7532ed1c8bd2b5c3f4c2c3e53bdf37 (diff)
Named Queues: fix immediate-delivery. Bug 2743
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index 3e08f0376..fd1d87362 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -2784,9 +2784,11 @@ on the second character (the one after '-'), to save some effort. */
else badarg = TRUE;
break;
- /* -MCG: set the queue name, to a non-default value */
+ /* -MCG: set the queue name, to a non-default value. Arguably, anything
+ from the commandline should be tainted - but we will need an untainted
+ value for the spoolfile when doing a -odi delivery process. */
- case 'G': if (++i < argc) queue_name = string_copy_taint(argv[i], TRUE);
+ case 'G': if (++i < argc) queue_name = string_copy_taint(argv[i], FALSE);
else badarg = TRUE;
break;