How to check Cisco Senderbase reputation from commandline

I have created an API for all sorts of email and ip related info, read more here Api for talos reputation (previous, senderscore, reputation authority and blacklists.

Since this no longer work i have created a solution in c# for now, not as “fancy” but it does the job.  Go here to read the post Public senderbase dns lookup is closed, here is how to look it up in c# using HttpClient and HtmlAgilityPack 

Senderbase is similar to Senderscore it is a reputation score for you IP address and/or domain you can use the website to lookup your IP. But if you just wan’t to check it from the command line this is how you do it.

First little about how the reputation is calculated.

Reputation scores in SenderBase may range from -10 to +10, reflecting the likelihood that a sending IP address is trying to send spam. Highly negative scores indicate senders who are very likely to be sending spam; highly positive scores indicate senders who are unlikely to be sending spam.

SenderBase combines multiple sources of information to determine a “reputation score” for any IP address. This information includes:

  • Email volume information provided by tens of thousands of organizations that regularly receive Internet email
  • Spam complaints received by the SpamCop service
  • Information on other DNS-based blacklists

This is the command to get the score if your IP is

Here is the tricky part, if you do a lookup on the website you will get a grouped reputation Poor, Neutral and Good. So how do you know where the score you get in the dns lookup fits?

This is my findings:

Poor is between -10 and -1

Neutral is between -1 and 2

Good is between 2 and 10

If you have any other knowledge about the classification from the scoring please let me know in the comments.


Sharing is caring!


8 thoughts on “How to check Cisco Senderbase reputation from commandline

  1. Maybe the public service is discontinued.

    ** server can’t find NXDOMAIN

    This type of query works:
    host -t txt descriptive text “|0=5.1|1=0.0|2=0.3336|3=0.5|7=AvNDhNIaN|10=0,0|”
    (found digging around this problem)

    but I have ho idea how the prefix is calculated.

    1. Yeah, you found that on this blog right?

      All that they are doing is sniffing the traffic with IronPort installed. Not very public 😉

      The response i got from Cisco when reaching out was that they discontinued the public lookup but no answer why. I will continue the discussion and see where it leads.

      Btw do you really get a respone using that rf in your comment? I don’t.

  2. i was using this public services myself but also noticed it stopped working recently

    i did your test:
    host -t txt descriptive text “|0=5.1|1=0.0|2=0.3336|3=0.5|7=AvNDhNIaN|10=0,0|”

    but thats all, i’m not able to query anymore. maybe we need to do some sniffing on the ironport itself

  3. thanks for the API you built. Just an FYI senderbases RDNS address would be for the IP
    nslookup -type=txt

    1. np, i will give it some more love soon. I know that’s how you query it but they removed the interesting data from that query years ago. Then you could go *.*.*.* but they removed that to. That’s why i built the api.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.