procmail
[Top] [All Lists]

Environment from sendmail

1997-12-21 13:06:16

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

I even have:
ETCPREMOTEIP=${client_addr}

The first thing /etc/procmailrc does is:
   printenv > /root/Mail/env_list
and TCPREMOTEIP doesn't show up...

This is with sendmail 8.8.8 on a Linux system.

Thanks,
Rick

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