This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

smtpfixture

Run a smtp server that store every mail in a Maildir. The goal is to tests that emails are sent when doing functional tests. You can also use it to verify the rendering of email in a desktop email client, that real Maildir format. You can also use it has a smtp server blackhole or test that you do not send email.

smtpfixture is based on twisted and is just few line of codes for writing a TAP file.

Installation

pip install smtpfixture

usage

cd `smtpfixture-installdir` && twistd smtpfixture

Note

smtpfixture is a tap file and it must be found by the twistd script. To get the plugin discovered by twistd, a change directory must be done. if you have a better solution, just let me now.

To stop the service, you can run the following command:

kill `cat twistd.pid`

Note

The command twistd -n smtpfixture can be used to avoid deamonization.

By default smtpfixture run on port 8025 as it did not require any privileges, but you can run it on the port you want.

To run it on port 25, as root, as a smtp blackhole (no email stored):

cd `smtpfixture-installdir` && twistd smtpfixture -p 25 -m /dev/null

Note

twistd provide options to change the uid/gid to fix privileges issues.

Changelog

0.4

  • Add the interface to bind

0.3

  • Add a method get_installdir to return the install dir

0.2

  • Fix packaging

0.1

  • Initial Release
Release History

Release History

0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
smtpfixture-0.4.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Jan 7, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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