mhonarc-users

Re: syntax error at line 2: `unshift' unexpected

1998-03-06 15:54:52
On March, 6 1998 at 10:56, Sam Brodkin wrote:

I created a user "list" on my solaris box and created list's .foward file:
 created a user "list" on my solaris box and created list's .foward file:

\list, "| /usr/local/bin/mhonarc -add -quiet -outdir -/export/home/list/archi
ve"

when I send mail list, I get an error from mhonarc (bounce back mail):

/usr/local/bin/mhonarc: syntax error at line 2: `unshift' unexpected
554 "| /usr/local/bin/mhonarc -add -quiet -outdir -/export/home/list/archive"
... 
unknown mailer error 2

Did you try "perl -c /usr/local/bin/mhonarc"?

The error message seems to imply that Perl is not the interpreter being
invoked on the /usr/local/bin/mhonarc source.  Looks like /bin/sh or
/bin/csh is in use.

I'm using a perl5 binary.  When I try with perl4 I don't get the unshift erro
r, 
but it can't find newgetopt.pl

See the FAQ on this one.

        --ewh

<Prev in Thread] Current Thread [Next in Thread>