procmail
[Top] [All Lists]

Geting the Sender IP

2004-11-08 10:40:23
Hello, 

on some mailaccounts I like to log, from which IP the E-Mail come from.

If I use 

  ____( '/home/michelle/.procmail/FLT_spamhaus' )_______________________
 /
| :0 cH
| * Received: from.*[.*](.*$)+Received:.*[/[0-9]+.[0-9]+.[0-9]+.[0-9]+
| { 
|   RECEIVIP2=${MATCH} 
|   :0
|   | $HOME/bin/tdmail_send $RECEIVIP2
| }
 \______________________________________________________________________

I get not the right result. 
How can I get the real Sender IP ?

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>