Skip to main content

library to build a custom SMTP server

Project description

pymta is a library to build a custom SMTP server in Python. This is useful if you want to…

  • test mail-sending code against a real SMTP server even in your unit tests.

  • build a custom SMTP server with non-standard behavior without reimplementing the whole SMTP protocol.

  • have a low-volume SMTP server which can be easily extended using Python

Changelog

0.5.0 (07.04.2010)

  • Dropped dependency to repoze.workflow because the module added a lot of dependencies recently (six others in total). The new, custom state machine also supports flags and conditions which suits SMTP very much.

  • Added dependency to pycerberus (>= 0.3.1) to validate all sent parameters thoroughly with sensible error messages.

  • All inputs from peers is now validated

  • relaxed restrictions for the HELO/EHLO parameter (as real world clients don’t send real host names)

  • Fixed bug - ESMTP session switched back to plain SMTP after the first mail was sent

  • Fixed bug - Hang after sending data to a broken connection

0.4.0 (08.06.2009)

  • Compatibility fixes for Python 2.3-2.6

  • Policies can drop connection to the client before or after the response

  • CommandParser is more robust against various socket errors

  • Better infrastructure and documentation to use pymta in third-party tests

0.3.1 (27.02.2009)

  • Fixed bug which caused hang after unexpected connection drop by client

0.3 (15.02.2009)

  • Switch to process-based architecture, got rid of asyncore

  • Support for size-limitations of messages, huge messages will not be stored in memory if they will be rejected anyway (denial of service prevention)

  • API documentation is now auto-generated

  • Renamed DefaultMTAPolicy to IMTAPolicy and moved all interfaces to pymta.api

  • Added the debugging_server as an extremely simple example of a pymta-based server

Project details


Download files

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

Source Distribution

pymta-0.5.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

pymta-0.5-py2.6.egg (61.0 kB view details)

Uploaded Source

File details

Details for the file pymta-0.5.tar.gz.

File metadata

  • Download URL: pymta-0.5.tar.gz
  • Upload date:
  • Size: 86.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymta-0.5.tar.gz
Algorithm Hash digest
SHA256 6cea0c2c62804be3662b8b5c32cf4ce6494a331c86d2a9d4550b4aa041508a0b
MD5 04d6f6b2fdfb27af8eebaf1e031eb545
BLAKE2b-256 8372a2c722a8b5689ced30c5a0194ca5c00d7ca4582904ba252e658d8134806b

See more details on using hashes here.

File details

Details for the file pymta-0.5-py2.6.egg.

File metadata

  • Download URL: pymta-0.5-py2.6.egg
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymta-0.5-py2.6.egg
Algorithm Hash digest
SHA256 8924704900fc214128074e71de7d1d4b1914de62128679839b16f31893c358eb
MD5 45ed134b7244715dc6a26376a7de28e4
BLAKE2b-256 663c65296c615f7c3737527318abc35b14ab6264b1301f98b28082894c2e30e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page