X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=debian%2Fpatches%2Fbug_821385_dnsresolver;fp=debian%2Fpatches%2Fbug_821385_dnsresolver;h=bc27430b548979962e1287b21d4aaec48b588706;hb=f574272c2482300f660cfb4003b42efd1665c3b4;hp=0000000000000000000000000000000000000000;hpb=628e6ae64861e7e6db182bc99c2590e65ef8691a;p=proxmox-spamassassin.git diff --git a/debian/patches/bug_821385_dnsresolver b/debian/patches/bug_821385_dnsresolver new file mode 100644 index 0000000..bc27430 --- /dev/null +++ b/debian/patches/bug_821385_dnsresolver @@ -0,0 +1,18 @@ +Origin: upstream, https://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/DnsResolver.pm?r1=1691992&r2=1691991&pathrev=1691992&view=patch +Bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7223 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821385 + +Index: spamassassin-3.4.1/lib/Mail/SpamAssassin/DnsResolver.pm +=================================================================== +--- spamassassin-3.4.1.orig/lib/Mail/SpamAssassin/DnsResolver.pm ++++ spamassassin-3.4.1/lib/Mail/SpamAssassin/DnsResolver.pm +@@ -592,6 +592,9 @@ sub new_dns_packet { + }; + + if ($packet) { ++ # RD flag needs to be set explicitly since Net::DNS 1.01, Bug 7223 ++ $packet->header->rd(1); ++ + # my $udp_payload_size = $self->{res}->udppacketsize; + my $udp_payload_size = $self->{conf}->{dns_options}->{edns}; + if ($udp_payload_size && $udp_payload_size > 512) {