procmail
[Top] [All Lists]

Need help matching IP address

2006-10-16 19:58:13
I need to extract the IP address of the connecting node so I can deliver 
without extended tests if 
it matches.  Here is what I have working for Sendmail thanks for help from the 
group:
:0  # in brackets are a caret, a space, and a tab
* ^Received:.*\/[^      ].*
* ? echo $MATCH | fgrep -isf /tmp/relay
Maildir/

I am having a hard time doing this under Qmail.  Can somebody help me?  Here is 
how the received 
line looks:
Received: from unknown (HELO qqqq) (67.190.128.23)
  by MUNGED.com with SMTP; 17 Oct 2006 02:06:33 -0000

TIA,

Brian


____________________________________________________________
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