You are going to have to have use different names for each test otherwise only the last test will execute. There is a mapping of one name -> one test. So each time the config is parsed the the SPAMCOP_URI_RBL test name is clobbered by the next.
I would do something like :
uri SPAMCOP_URI_RBL eval:check_spamcop_uri_rbl('sc.surbl.org','127.0.0.2') describe SPAMCOP_URI_RBL URI's domain appears in spamcop database at sc.surbl.org tflags SPAMCOP_URI_RBL net score SPAMCOP_URI_RBL 3.0
uri BE_URI_RBL eval:check_spamcop_uri_rbl('be.surbl.org','127.0.0.2') describe BE_URI_RBL URI's domain appears in spamcop database at be.surbl.org tflags BE_URI_RBL net score BE_URI_RBL 3.0
uri BILLSTEARNS_URI_RBL eval:check_spamcop_uri_rbl('ws.surbl.org','127.0.0.2') describe BILLSTEARNS_URI_RBL URI's domain appears in spamcop database at ws.surbl.org tflags BILLSTEARNS_URI_RBL net score BILLSTEARNS_URI_RBL 3.0
This creates the potential for one url to generate multiple hits, which could be considered good or bad...
--eric
On Wed, Apr 21, 2004 at 03:13:14PM -0500, Doc Schneider wrote:
Got a question.
How is the best way to use all the surbl.org zone with SA?
uri SPAMCOP_URI_RBL eval:check_spamcop_uri_rbl('sc.surbl.org','127.0.0.2') describe SPAMCOP_URI_RBL URI's domain appears in spamcop database at sc.surbl.org tflags SPAMCOP_URI_RBL net score SPAMCOP_URI_RBL 3.0
uri SPAMCOP_URI_RBL eval:check_spamcop_uri_rbl('be.surbl.org','127.0.0.2') describe SPAMCOP_URI_RBL URI's domain appears in spamcop database at be.surbl.org tflags SPAMCOP_URI_RBL net score SPAMCOP_URI_RBL 3.0
uri SPAMCOP_URI_RBL eval:check_spamcop_uri_rbl('ws.surbl.org','127.0.0.2') describe SPAMCOP_URI_RBL URI's domain appears in spamcop database at ws.surbl.org tflags SPAMCOP_URI_RBL net score SPAMCOP_URI_RBL 3.0
Or do I need to change something? I just have it now doing the sc zones, but would like to have it parse through them all.
Thanks,
--
-Doc
MomNDoc Online Consultants http://www.maddoc.net/ momndoc@maddoc.net _______________________________________________ Discuss mailing list Discuss@lists.surbl.org http://lists.surbl.org/mailman/listinfo/discuss