Changeset 34
- Timestamp:
- 03/30/11 12:54:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dnsbl/export-dnsbl
r32 r34 60 60 # more or less raw CIDR block-and-IP info. rbldnsd format for convenience. 61 61 foreach (sort ipcmp keys %iplist) { 62 print"$_:127.0.0.$iplist{$_}:".63 ($iplist{$_} & 2 ? 62 my $out = "$_:127.0.0.$iplist{$_}:". 63 ($iplist{$_} & 2 ? 64 64 ($config{iplisted} ? $config{iplisted} : '$ relayed a reported spam') : 65 65 ($config{blocklisted} ? $config{blocklisted} : 'Netblock listed on one or more criteria') 66 66 )."\n"; 67 $out =~ s/:ENTITY:/$_/; 68 print $out; 67 69 } 68 70 } else {
Note:
See TracChangeset
for help on using the changeset viewer.