On Sunday 16 May 2010 08:43:06 Alex wrote: > Hi all, Hi Alex,
> Can anyone recommend a command-line perl or sh RBL check script? I've > tried a few out there, but they are either dated and don't support > current RBLs, or just don't work. While doing a simple host lookup > against an RBL may work for some of them, it won't work for a lot of > them because the format and return values aren't the same for, say, > hostkarma as it is for surbl.org. > > I'd like to be able to do something like "myrblcheck site.com" and > have it print something like "yes: 5 RBLs no: 10 RBLs" so I can make a > determination if the site that was once listed in an email is still > listed, and should be considered a spam site. I just put a script online which checks an IP against a lot of known dns lists (black, white and colored). I don't think that it gives you the whole functionality you want, but have a look at it by yourself: http://www.localside.net/scripts/ > Thanks, > Alex regards Stefan