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. Anybody
know what env is?
mhonarc works fine from the command line. Could it be a permissions problem?
Mail is sent to a majordomo list, and an alias in majordomo.aliases pipes the
message to mhonarc.
-Andy
On Tue, 29 Jun 1999, Earl Hood wrote:
On June 29, 1999 at 17:59, Andy Loftus wrote:
I have mhonarc 2.3.3
installed on SunOS 5.6 (Solaris 2.6).
running Sendmail 8.8.8
I want to add messages to an archive as they are received, but I keep
getting
the following output:
/usr/bin/env: No such file or directory
How are you getting this output? I.e. Are you get it as mail, to
the terminal, to syslog?
I originally added an alias that piped the mail to mhonarc:
alias: "|<pathto>/mhonarc -add -outdir <pathto>/test.archive/html"
MHonArc does not call "env". I'd be surprised if perl was calling it.
It could be sendmail.
What is the "#!..." line in "<pathto>/mhonarc"? Is the the execute
bit set on <pathto>/mhonarc? Can you invoke the above from a
shell without any errors?
--ewh