procmail
[Top] [All Lists]

Re: Aloha! A question about STDERR...

2001-02-13 01:27:42
Philip Guenther wrote:

Even if procmail did that (which is doesn't), the redirection in the
command would override it.  If SHELLMETAS was misset or unset then you
would get a usage error message from nslookup.  Therefore, either
a) your /bin/sh is broken;

Unlikely. BSDI "SuperServer" 4.1

b) the nslookup command being invoked sends error messages to stdout;

Doesn't do that when I invoke sh and feed it the same command.

LOG = "HOST = $HOST
`IFS=:
 for i in $PATH
 do
   if test -f $i/nslookup
   then
     echo $i/nslookup
     break
   fi
 done`"

How about just `which nslookup`?

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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