Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

MX Sniffer

Project Description

MX Sniff

MX Sniff identifies well known email service providers given an email address or a domain name. Use this to find out how many users in your email database are Gmail users (via Google Apps).

To install, get it from PyPI:

$ pip install mxsniff

Or get the development branch direct from GitHub:

$ pip install

Command line usage:

$ mxsniff
$ mxsniff -v
$ mxsniff @filename_with_list_of_domains_or_emails_or_urls

Python usage:

>>> from mxsniff import mxsniff, mxbulksniff
>>> mxsniff('')
>>> mxbulksniff(['', ''])  # Returns a generator with one result at a time


  • Added support for wildcards in domain names
  • Additional providers
  • Detect self-hosted email servers
  • Remove verbose mode in the mxsniff function; always verbose now
  • Track MX TLDs
  • Run queries in a multiprocess pool in the command line version


  • Updated README and minor bugfixes


  • Python 3 and PyPy support
  • mxsniff now returns a string or None, switching to a list only when multiple service providers are found
  • get_domain now extracts the TLD when a URL is provided, so www. and other subdomains are ignored
  • New mxbulksniff to run on a large list
  • Verbose mode to also retrieve MX values
  • New console script for easy use and batch processing of large lists
  • More providers


  • First version
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mxsniff-0.3.0.tar.gz (6.9 kB) Copy SHA256 Checksum SHA256 Source Feb 8, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting