{ "info": { "author": "Matthew Peveler", "author_email": "matt.peveler@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Framework :: AsyncIO", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: Public Domain", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Communications :: Email :: Mail Transport Agents" ], "description": "nullsmtpd\n========\n\n.. image:: https://travis-ci.org/MasterOdin/nullsmtpd.svg?branch=master\n :target: https://travis-ci.org/MasterOdin/nullsmtpd\n :alt: Build Status\n\nnullsmtpd is a fake SMTP server (written in python) which can be used for development. The server catches incoming mail,\nwrites them to a file, and doesn't actually send it out to the intended recipients. All emails are saved to a directory\n(defaults to ``/var/log/nullsmtpd``, but can be changed via flag) where each email address sent to gets its own folder\nand then emails are stored in that folder named ``{sender}.{time}.msg``. This is useful for debugging applications\nwhere you don't want a GUI (as you're running a headless VM say), but still actually need to see the messages that\nwere sent in the system, without having to worry about things getting bounced or whatever.\n\nGenerally, you'd probably want to install this instead of something like sendmail or some other package that would\nhandle sending mail from your server.\n\nRequirements\n============\nnullsmtpd relies on Python 3.5+ and `aiosmtpd `_. Recommended to also have ``pip`` for installation.\n\nInstallation\n============\nRecommended Installation is through PyPi::\n\n pip install nullsmtpd\n\nOr if you've cloned the repository::\n\n python3 setup.py install\n\n\nUsage\n=====\n::\n\n usage: nullsmtpd [-h] [--no-fork] [-H HOST] [-P PORT] [--mail-dir MAIL_DIR]\n [-v]\n\n optional arguments:\n -h, --help show this help message and exit\n --no-fork Don't fork and run nullsmtpd as a daemon. Additionally,\n this willprint all log messages to stdout/stderr and\n all emails to stdout.\n -H HOST, --host HOST Host to listen on\n -P PORT, --port PORT Port to listen on\n --mail-dir MAIL_DIR Location to write logs and emails (defaults to\n ~/.nullsmtpd)\n -v, --version show program's version number and exit\nBy default, you will need to use sudo as the server wants to bind itself to localhost and port 22.\nHowever, if you use a different port, then it will not require using sudo. However, note, that if the current running\nuser of the script does not have access to create a directory/file within ``/var/log`` or ``/var/log/nullsmtpd``, then\nno emails will be written to file, but just through the console.\n\nIf the mail directory is writeable to, then you should have the following directory structure::\n\n nullsmtpd.log\n person1@example.com/\n 1492024232.person2@example.com.msg\n 1492024462.person2@example.com.msg\n 1493678462.person1@example.com.msg\n person2@example.com/\n person1@example.com.1232421423.msg\n\nwhere ``nullsmtpd.log`` a log file for the system, and then each folder represents a person's \"inbox\" and inside\nare messages from someone at a given timestamp (seconds from epoch).", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/MasterOdin/nullsmtpd", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "nullsmtpd", "package_url": "https://pypi.org/project/nullsmtpd/", "platform": "", "project_url": "https://pypi.org/project/nullsmtpd/", "project_urls": { "Homepage": "http://github.com/MasterOdin/nullsmtpd" }, "release_url": "https://pypi.org/project/nullsmtpd/0.5.0/", "requires_dist": null, "requires_python": ">=3.5.x", "summary": "Fake SMTP server", "version": "0.5.0" }, "last_serial": 4961622, "releases": { "0.4.0": [ { "comment_text": "", "digests": { "md5": "d96e32bff4ae86dfefe45616c718c19b", "sha256": "b78433e0bf9dc94d727187341dd36dd89b59f019a1f1e3416e9a40e5581ef7b3" }, "downloads": -1, "filename": "nullsmtpd-0.4.0-py2-none-any.whl", "has_sig": false, "md5_digest": "d96e32bff4ae86dfefe45616c718c19b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 8746, "upload_time": "2018-01-29T16:01:24", "url": "https://files.pythonhosted.org/packages/18/4a/cc72e7515c805c2ec1bf0543af3526c07cb3bb0c5bb9840e10b72d0b4e1c/nullsmtpd-0.4.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "08e5116398fa633a877b37dbe47e0074", "sha256": "055157bc5e9f0b0b64b54c19a559e65f13fe2e47d7655316edc1d5258fcda174" }, "downloads": -1, "filename": "nullsmtpd-0.4.0.tar.gz", "has_sig": false, "md5_digest": "08e5116398fa633a877b37dbe47e0074", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5624, "upload_time": "2018-01-29T16:01:22", "url": "https://files.pythonhosted.org/packages/b8/31/1f4fd6480988540576ccec844c58f7856e6df7a77a511e2a28d3f2747e48/nullsmtpd-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "f5b1dd80cef3ef3c7a5ab87ce42a04b7", "sha256": "2316f3fd69b698ae77460148a7de637853cb6573c9fce856792d02f2e83d1cce" }, "downloads": -1, "filename": "nullsmtpd-0.4.1.tar.gz", "has_sig": false, "md5_digest": "f5b1dd80cef3ef3c7a5ab87ce42a04b7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.x", "size": 5421, "upload_time": "2019-03-19T17:17:26", "url": "https://files.pythonhosted.org/packages/da/fb/d6adfbfc38ae59954b1310ae3e869b4b0c62cc6c29f8220f46b503daaea0/nullsmtpd-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "e6b9ea5852a01c08d62c8deeead5c2e8", "sha256": "f1fbc76125661060fa94f797245e5c9e6c2d83b9914ffa7f736f7a8a03b11725" }, "downloads": -1, "filename": "nullsmtpd-0.5.0.tar.gz", "has_sig": false, "md5_digest": "e6b9ea5852a01c08d62c8deeead5c2e8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.x", "size": 5457, "upload_time": "2019-03-20T01:31:24", "url": "https://files.pythonhosted.org/packages/54/66/239c4fa90877e462ed2459b33a639a4845a054cf140f66ff811888bfdf7d/nullsmtpd-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6b9ea5852a01c08d62c8deeead5c2e8", "sha256": "f1fbc76125661060fa94f797245e5c9e6c2d83b9914ffa7f736f7a8a03b11725" }, "downloads": -1, "filename": "nullsmtpd-0.5.0.tar.gz", "has_sig": false, "md5_digest": "e6b9ea5852a01c08d62c8deeead5c2e8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.x", "size": 5457, "upload_time": "2019-03-20T01:31:24", "url": "https://files.pythonhosted.org/packages/54/66/239c4fa90877e462ed2459b33a639a4845a054cf140f66ff811888bfdf7d/nullsmtpd-0.5.0.tar.gz" } ] }