(1) Typo in redirect router; (2) Update version number; (3) Update
[exim.git] / src / src / transports / smtp.c
index 71fca3a103b4d6212c8c00a6118d5a6da71153f7..424f9afa92a394a604a5cd4fe3e5f285cd3385aa 100644 (file)
@@ -1,10 +1,10 @@
-/* $Cambridge: exim/src/src/transports/smtp.c,v 1.1 2004/10/07 13:10:02 ph10 Exp $ */
+/* $Cambridge: exim/src/src/transports/smtp.c,v 1.3 2005/01/04 10:00:45 ph10 Exp $ */
 
 /*************************************************
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2004 */
+/* Copyright (c) University of Cambridge 1995 - 2005 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 #include "../exim.h"
@@ -389,8 +389,9 @@ end the DATA. */
 
 if (*errno_value == ERRNO_FILTER_FAIL)
   {
-  *message = US string_sprintf("transport filter process failed (%d)",
-    more_errno);
+  *message = US string_sprintf("transport filter process failed (%d)%s",
+    more_errno, 
+    (more_errno == EX_EXECFAILED)? ": unable to execute command" : "");
   return FALSE;
   }