ph10 2005/10/13 14:21:00 BST
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/src/transports pipe.c
Log:
Default PATH in pipe transport is now /bin:/usr/bin rather than just
/usr/bin.
Revision Changes Path
1.250 +4 -0 exim/exim-doc/doc-txt/ChangeLog
1.8 +1 -1 exim/exim-src/src/transports/pipe.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -r1.249 -r1.250
--- ChangeLog 12 Oct 2005 11:00:34 -0000 1.249
+++ ChangeLog 13 Oct 2005 13:21:00 -0000 1.250
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.249 2005/10/12 11:00:34 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.250 2005/10/13 13:21:00 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -33,6 +33,10 @@
(5) Because of (4), we can now allow for the use of $prvscheck_result
inside the third argument.
+
+PH/03 For some reason, the default setting of PATH when running a command from
+ a pipe transport was just "/usr/bin". I have changed it to
+ "/bin:/usr/bin".
Exim version 4.54
Index: pipe.c
===================================================================
RCS file: /home/cvs/exim/exim-src/src/transports/pipe.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- pipe.c 27 Jun 2005 14:29:44 -0000 1.7
+++ pipe.c 13 Oct 2005 13:21:00 -0000 1.8
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/src/transports/pipe.c,v 1.7 2005/06/27 14:29:44 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/src/transports/pipe.c,v 1.8 2005/10/13 13:21:00 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -89,7 +89,7 @@
NULL, /* cmd */
NULL, /* allow_commands */
NULL, /* environment */
- US"/usr/bin", /* path */
+ US"/bin:/usr/bin", /* path */
NULL, /* message_prefix (reset in init if not bsmtp) */
NULL, /* message_suffix (ditto) */
US mac_expanded_string(EX_TEMPFAIL) ":" /* temp_errors */