diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-10-13 13:21:00 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-10-13 13:21:00 +0000 |
commit | cb7410236c1301a26b91d8290de8599cf0faf049 (patch) | |
tree | 7996fbea35c8ae5cc141c83b25ffb4f3bbe37ced | |
parent | 2050824c3fca58720dcb972d2550a55f3639d612 (diff) |
Default PATH in pipe transport is now /bin:/usr/bin rather than just
/usr/bin.
-rw-r--r-- | doc/doc-txt/ChangeLog | 6 | ||||
-rw-r--r-- | src/src/transports/pipe.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 6c0529072..acac82061 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.249 2005/10/12 11:00:34 ph10 Exp $ +$Cambridge: 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 ------------------------------------------- @@ -34,6 +34,10 @@ PH/02 Several tidies to the handling of ${prvs and ${prvscheck: (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 ----------------- diff --git a/src/src/transports/pipe.c b/src/src/transports/pipe.c index fe32e1267..421728d7e 100644 --- a/src/src/transports/pipe.c +++ b/src/src/transports/pipe.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/transports/pipe.c,v 1.7 2005/06/27 14:29:44 ph10 Exp $ */ +/* $Cambridge: 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 @@ pipe_transport_options_block pipe_transport_option_defaults = { 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 */ |