/[Apache-SVN]/spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm
ViewVC logotype

Diff of /spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm	2005/07/07 23:01:47	209671
+++ spamassassin/trunk/lib/Mail/SpamAssassin/EvalTests.pm	2005/07/07 23:03:02	209672
@@ -940,7 +940,7 @@ sub _check_whitelist_rcvd {
       if ($addr =~ $regexp) {
         foreach my $lastunt (@relays) {
           my $rdns = $lastunt->{lc_rdns};
-          if ($rdns =~ /(?:^|\.)\Q${domain}\E$/) { return 1; }
+          if ($rdns =~ /(?:^|\.)\Q${domain}\E$/i) { return 1; }
         }
         # found address match but no relay match. note as possible forgery
         $found_forged = -1;

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26