From: Philip Hazel Date: Thu, 13 Oct 2005 13:21:00 +0000 (+0000) Subject: Default PATH in pipe transport is now /bin:/usr/bin rather than just X-Git-Tag: exim-4_61~135 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/cb7410236c1301a26b91d8290de8599cf0faf049 Default PATH in pipe transport is now /bin:/usr/bin rather than just /usr/bin. --- 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 */