Ticket #50799: spamd.patch

File spamd.patch, 520 bytes (added by willem+macports@…, 9 years ago)

Proposed patch

  • spamassassin/branches/3.4/lib/Mail/SpamAssassin/DnsResolver.pm

     
    592592  };
    593593
    594594  if ($packet) {
     595    # RD flag needs to be set explicitly since Net::DNS 1.01, Bug 7223 
     596    $packet->header->rd(1);
     597
    595598  # my $udp_payload_size = $self->{res}->udppacketsize;
    596599    my $udp_payload_size = $self->{conf}->{dns_options}->{edns};
    597600    if ($udp_payload_size && $udp_payload_size > 512) {