procmail
[Top] [All Lists]

Re: Using Procmail for RBL Blacklists

2003-04-22 10:57:32

Doh!  This is more simply done:

OCTET='(0|[1-9][0-9]?|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))'

:0
* 1073741824^1 ^Received:\/.*by (astro\.snellfamily\.com|\
                jinx\.unknown\.nu)
* ! MATCH  ?? from astro\.snellfamily\.com.*by jinx\.unknown\.nu
* $ MATCH  ?? ()\[\/$OCTET\.$OCTET\.$OCTET\.$OCTET
{ CHECKIP=$MATCH }

Thanks to you and everyone else who helped. I've had this in place for a few weeks and it's been working great.

One question: is there any significance to "1073741824", or is that just a miscellaneous high number?

--
----------------------------------------------------------------------------
Kim Scarborough                                  http://www.unknown.nu/kim/
----------------------------------------------------------------------------
"Trying is the first step towards failure."
                                                             - Homer Simpson
----------------------------------------------------------------------------
Now listening to: Leola B. Wilson/Blind Blake - "Ashley St. Blues"
----------------------------------------------------------------------------


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail