Merge branch 'multiqueue_336': Named queues
[exim.git] / src / src / smtp_in.c
index df66ed02f9bf8edcad3882f73828aee75a8e9e8c..53387011c80892eca22472605a58a88096634b35 100644 (file)
@@ -4963,8 +4963,10 @@ while (done <= 0)
         break;
         }
       etrn_command = US"exim -R";
-      argv = CUSS child_exec_exim(CEE_RETURN_ARGV, TRUE, NULL, TRUE, 2, US"-R",
-        smtp_cmd_data);
+      argv = CUSS child_exec_exim(CEE_RETURN_ARGV, TRUE, NULL, TRUE,
+        *queue_name ? 4 : 2,
+       US"-R", smtp_cmd_data,
+       US"-MCG", queue_name);
       }
 
     /* If we are host-testing, don't actually do anything. */