procmail
[Top] [All Lists]

Re: Variable Problem..

2000-05-15 21:17:00
On Fri, 12 May 2000, Ian Chilton wrote:

Hello,

If I do this at the command line, it returns my current dynamic IP:
 
However, this in my procmail rc file just sends a message with the text, but
a blank where the IP should be:

  ADDR=`ifconfig ppp0  \
      | awk '{ if ( /inet addr:/ ) printf("%s\n", $2); }' \
      | sed s/addr://g`

Either one or more of the programs is not in your path when procmail runs,
or your mail server is not able to run them.

-- 
Two percent of zero is almost nothing.

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