http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4981





------- Additional Comments From [EMAIL PROTECTED]  2006-08-09 08:44 -------
Looking over the code in URIDNSBL.pm I can see how the regexp test here will not
work.

urirhssub TEST_A_RE multi.surbl.org. A /\./

parses the regular expression field into a string with value '/\./' and then
does the match using
 if ($rdatastr =~ m/${subtest}/)

Am I misunderstanding the perl or is that not correctly dealing with the
delimiters in the subtest field?

I looked at how we do it in the main rule file, with various tests and then
calling Mail::Conf::Parser->add_test and I'm hesitant to jump in with changes to
URIDNSBL.pm.

Can someone who is familiar with the code in Conf.pm and Parse.pm jump in and
look at how it should be done here? The relevant code is in URIDNSBL.pm, where
the urirhssub rule is parsed in set_config and where the match is done in
complete_dnsbl_lookup.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to