procmail
[Top] [All Lists]

Re: procmail as system mail delivery agent 123

1998-10-31 12:56:29
At 10:14 AM 10/31/98 -0800, Nick Halloway wrote:
[snip]
Even though the paths are explicitly specified it still won't run the 
scripts decodeBase64 and submission.

The line that is bombing looks like this:



 antivirus | $MNG_ROOT/bin/decodeBase64 | $@


It finds antivirus OK, which is a compiled C program.  But it doesn't 
like shell scripts!!!  It's not a path problem, it's a problem with 
the system not wanting to run scripts.  What can I do about this? Thanks.

Probably "antivirus" (whatever that is) is trying to exec the shell script
directly.  (Or maybe the script lacks a "#!/bin/sh" at the start?)
Try something like this:

  antivirus | /bin/sh -c "$MNG_ROOT/bin/decodeBase64" | $@

(Untested).

Cheers,
Stan

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