procmail
[Top] [All Lists]

Re: Environment from sendmail

1997-12-22 19:35:36
On Sun, 21 Dec 1997, Richard A Nelson wrote:
I'm using procmail as my delivery agent and am trying
to pass ${client_addr} to procmail (for RBL lookup).

I've tried several things, but nothing seems to be working...
My latest attempt is:

Mlocal, P=/usr/bin/env, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
        T=DNS/RFC822/X-Unix,
        A=env TCPREMOTEIP="${client_addr}" procmail -Y -p -a $h -d $u

Procmail is probably stripping the environment before doing its magic. Try
running it with the '-p' flag, and let me know how it works.

-- 
  ____ ______ _____
_/ __ \  ___//     \  Edward S. Marshall <emarshal(_at_)logic(_dot_)net>
\  ___/___ \|  | |  \ http://www.logic.net/~emarshal/
 \____\_____>__|_|__/ Information Systems Manager, Logical Solutions

[  Are you a spammer looking for a great opportunity to be blacklisted? Then  ]
[ have your automatic bots email spam(_at_)logic(_dot_)net and secure a spot on 
my list! ]

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