Add $router_name and $transport_name variables. Bug 308.
[exim.git] / src / src / deliver.c
index 79d431b37307b79fbf24ba6c59d5b926b2a96335..55bfa0dd0839fe2b539623d026985ab280c03ae2 100644 (file)
@@ -2190,6 +2190,8 @@ while (addr_local != NULL)
 
   if (previously_transported(addr, FALSE)) continue;
 
+  transport_name = tp->name;
+
   /* There are weird cases where logging is disabled */
 
   disable_logging = tp->disable_logging;
@@ -3530,6 +3532,8 @@ for (delivery_count = 0; addr_remote != NULL; delivery_count++)
 
   if (previously_transported(addr, FALSE)) continue;
 
+  transport_name = tp->name;
+
   /* Force failure if the message is too big. */
 
   if (tp->message_size_limit != NULL)