On Fri, Jun 05, 2009 at 10:05:16AM -0400, Wietse Venema wrote:
> Ralf Hildebrandt:
> > /usr/libexec/postfix/postfix-script: 346: /bin/env: not found
>
> Replace "/bin/env find" by "`which find`.
Perhaps /usr/bin/env, will be more portable? It seems that /usr/bin/env
is "more" correct than /bin/env for both Linux and Solaris, does it
also work on *BSD systems? Also "find" is /usr/bin/find on both.
Is there a better solution? Could always use, and not worry about
foot-shooters who put macros in "queue_directory = $some_other_parameter".
find "`postconf -h $queue_directory`/$q"
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.