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!

Simple SMTP Server for debugging

Project Description

dsmptd: A debugger SMTP server for Humans

dsmtpd is a small tool to help the developer without an smtp server


$ dsmtpd -p 1025 -i
2013-01-13 14:00:07,346 INFO: Starting SMTP server at


For the installation, we recommend to use a virtualenv, it’s the easy way if you want to discover this package:

virtualenv ~/.envs/dsmtpd
source ~/.envs/dsmtpd/bin/activate

pip install dsmtpd


Execute dsmtpd with the –help flag and you will get the usage of this command:

dsmtpd --help

There are two options:

  • -p You specify the port of dsmtpd (default is 1025)
  • -i You specify the network interface (default is loopback,
  • -d You specify the directory to save the incoming emails

Use it

Here is a small example:


swaks --from --to  --server localhost --port 1025


git clone git://

Copyright 2013 (c) by Stephane Wirtel

dsmtpd Changelog

Here you can see the full list of changes between each dsmtpd release.

Version 0.3

Release date to be decided.

Version 0.2.2

Release on January 30th 2013.

  • Fix the license
  • Fix the author name

Version 0.2 & 0.2.1

Release on January 21st 2013.

  • Allow to store the incoming emails in a maildir via the ‘-d’ argument

Version 0.1

Release on January 14th 2013.

  • Implement a basic server
  • Show the message in the log
Release History

Release History

This version
History Node


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
dsmtpd-0.2.2.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Jan 30, 2013

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