diff options
-rw-r--r-- | src/src/transport.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/src/transport.c b/src/src/transport.c index 0fc2b2e09..9737acc58 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -1929,7 +1929,12 @@ if ((pid = fork()) == 0) argv = CUSS child_exec_exim(CEE_RETURN_ARGV, TRUE, &i, FALSE, 0); - /* Call with the dsn flag */ + if (*queue_name) + { + argv[i++] = US"-MCG"; + argv[i++] = queue_name; + } + if (smtp_use_dsn) argv[i++] = US"-MCD"; if (smtp_authenticated) argv[i++] = US"-MCA"; |