Jump to content

Recommended Posts

Posted
Is there any tool or script I can use that will monitor the spam blacklists to check if we are added.

 

MXToolbox will do monitoring for you, free for one account - just follow the "monitor this" link from the blacklist results page. Or, of course, you could simply parse the output of that results page yourself, it should be a simple case of searching for a string.

  • Thanks 1
Posted

I did something similar for a friend:

 

<?php

$ip = $_GET['ip'];

$reverse_ip = implode(".", array_reverse(explode(".", $ip)));

$i = 0;

$handle = @fopen("dnsbl.txt", "r");

if ($handle) {

while (($buffer = fgets($handle, 4096)) !== false) {

//echo $buffer;

if(checkdnsrr($reverse_ip.".".$buffer.".", "A")) {

$i++;

echo "[listED] IP: ".$ip." is listed on ".$buffer.".

";

}

else {

//echo "[OK] not listed on ".$buffer."\n";

}

}

if (!feof($handle)) {

echo "Error: unexpected fgets() fail\n";

}

fclose($handle);

 

if ($i < 1)

{

echo "IP: ".$ip." is not listed on any blacklists checked

 

";

}

echo '

';

}

?>

 

https://www.dropbox.com/s/tvc7f7m5lx3f8rm/dnsbl.txt - a list of them to check

 

Can make your own if signing up for a service doesn't suit. :)

  • Thanks 1
Posted
MXToolbox will do monitoring for you, free for one account - just follow the "monitor this" link from the blacklist results page. Or, of course, you could simply parse the output of that results page yourself, it should be a simple case of searching for a string.

 

 

I didnt notice that, thanks. however it seems to only monitor a subset, and check every 7 days, which I think I would have noticed by then if I was blacklisted! :p

 

Parse the website for the blocked notification part is pretty much what Im looking for... So.. "how do you do it..."... :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...