[SURBL-Discuss] Nice URIDNSBL functionality

Jeff Chan jeffc at surbl.org
Mon Nov 1 23:38:52 CET 2004


On Monday, November 1, 2004, 2:20:31 PM, Bill Landry wrote:
> From: "Fred" <tech2 at i-is.com>

>> How hard would it be to querry the A record for the domain as well?

> This seems to say that you could do this (see
> http://spamassassin.apache.org/full/3.0.x/dist/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html):
> =====
> uridnsbl NAME_OF_RULE dnsbl_zone lookuptype

> Specify a lookup. NAME_OF_RULE is the name of the rule to be used,
> dnsbl_zone is the zone to look up IPs in, and lookuptype is the type of
> lookup (TXT or A). Note that you must also define a header-eval rule calling
> check_uridnsbl() to use this.
> Example:

>  uridnsbl        URIBL_SBLXBL    sbl-xbl.spamhaus.org.   TXT
>  header          URIBL_SBLXBL    eval:check_uridnsbl('URIBL_SBLXBL')
>  describe        URIBL_SBLXBL    Contains a URL listed in the SBL/XBL
> blocklist
> =====

> by changing "TXT" to "A" in the above rule definition, but I could be wrong
> and have not tested it.

I think that's referring to the lookup type into the RBL, not
the lookup of the domain under test.

Jeff C.
--
"If it appears in hams, then don't list it."



More information about the Discuss mailing list