Changeset 16 for trunk


Ignore:
Timestamp:
01/20/10 17:35:34 (15 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Changes from live copy of extract-data

  • new IP blocks to ignore for listing
  • spit out refs for messages already tagged as spam so they can be manually handled; SA libs don't strip SA wrapper message when used this way
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/extract-data

    r13 r16  
    9999        NetAddr::IP->new("205.188.249.128/29"),
    100100        NetAddr::IP->new("205.188.249.64/29"),
     101        NetAddr::IP->new("64.12.143.144/30"),
    101102
    102103    # Google/GMail
     
    141142        NetAddr::IP->new("212.183.156.224/29"),
    142143
    143     # Eastlink (formerly Persona [Sudbury etc]) - only one IP observed with mail-ish rDNS
     144    # Eastlink (formerly Persona [Sudbury etc]) - only a few IPs observed with mail-ish rDNS
    144145    #IP-Network                    24.222.0.0/16
    145146        NetAddr::IP->new("24.222.0.30"),
     147        NetAddr::IP->new("24.224.136.8/30"),
    146148
    147149    # Cogeco - only a few IPs observed with mail-ish rDNS
     
    153155    #IP-Network                    129.128.0.0/16
    154156        NetAddr::IP->new("129.128.5.19"),
     157
     158    # seznam.cz
     159    #route:          77.75.72.0/23
     160        NetAddr::IP->new("77.75.72.44"),
     161
    155162    ); # done def for @dontlistme
    156163
     
    204211
    205212  my $relayip = new NetAddr::IP $untrusted[0]->{ip};
     213
     214# sigh.  messages tagged as spam already make life difficult by hiding the
     215# old Received: headers.  We'll just handle them manually for now.
     216  if (!$relayip) {
     217    print "phtui: ";
     218    my %headerlist = %{$imap->parse_headers($msgs[$i], "Received", "Subject")};
     219    my $recvnum = 0;
     220    my $recv = $headerlist{'Received'}[$recvnum];
     221    print "$recv\n";
     222    print "   $headerlist{'Subject'}[0]\n";
     223    next MSG;
     224  }
    206225
    207226  foreach my $block (@dontlistme) {
Note: See TracChangeset for help on using the changeset viewer.