/usr/bin/env was used to pick up perl from the local environment.
Sendmail did not have a path to perl in its environment, so env reported that perl "No
such file or directory".
A link to perl in a directory in sendmail's path solved the problem.
-Andy
On Wed, 30 Jun 1999, Earl Hood wrote:
> On June 30, 1999 at 07:51, Andy Loftus wrote:
>
> > The 1st line of <pathto>/mhonarc is:
> > #! /usr/bin/env perl -I/opt/CSStools/local/contrib/mhonarc/lib
> >
> > Looks like that's where it is coming from. I didn't install mhonarc. Anybod
> > y know what env is?
>
> shell> man env
>
> NAME
> env - set environment for command invocation
>
> SYNOPSIS
> /usr/bin/env [-i | -] [name=value] ... [utility [ arg ...]]
>
> > mhonarc works fine from the command line. Could it be a permissions problem?
>
> Possible, but from the error, it appears that /usr/bin/env does
> not exist, or perl is not in the search path.
>
> I do not know why that particular #! line exists in mhonarc. Apparently
> someone did a manual change. Find the person who installed
> mhonarc asking him/her what is going on. You can always install mhonarc
> your self somewhere, and call your installed version instead.
>
> --ewh
>
>