spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarti...@apache.org
Subject svn commit: r1715248 - /spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm
Date Thu, 19 Nov 2015 19:22:25 GMT
Author: mmartinec
Date: Thu Nov 19 19:22:25 2015
New Revision: 1715248

URL: http://svn.apache.org/viewvc?rev=1715248&view=rev
Log:
Bug 7265: DNS resolving breaks with Net::DNS 1.03 - fixing Plugin/DKIM.pm

Modified:
    spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm

Modified: spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm?rev=1715248&r1=1715247&r2=1715248&view=diff
==============================================================================
--- spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm (original)
+++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/DKIM.pm Thu Nov 19 19:22:25 2015
@@ -793,7 +793,8 @@ sub _check_dkim_signature {
         # Only do so if EDNS0 provides a reasonably-sized UDP payload size,
         # as our interface does not provide a DNS fallback to TCP, unlike
         # the Net::DNS::Resolver::send which does provide it.
-        my $res = $self->{main}->{resolver}->get_resolver;
+        my $res = $self->{main}->{resolver};
+        dbg("dkim: providing our own resolver: %s", ref $res);
         Mail::DKIM::DNS::resolver($res);
       }
     }



Mime
View raw message