{ "info": { "author": "Florian Schulze", "author_email": "florian.schulze@gmx.net", "bugtrack_url": null, "classifiers": [], "description": ".. contents:: :depth: 1\n\nIntroduction\n============\n\n**mr.hermes** is an extension of the smtpd.DebuggingServer from the Python\nstandard library. It dumps all mails it receives to the standard output and\noptionally to files in a configurable directory.\n\nUsage\n=====\n\nThere are several ways to use this package. Probably the most two common are\nthe following.\n\nCommand line\n------------\n\nInstall it with your preferred Python packaging tool (setuptools, distribute,\npip or whatever). Run it from the command line using\n``python -m smtpd -n -c mr.hermes.DebuggingServer localhost:8025``.\n\nIf you want to dump the output to a directory, then set the\n**DEBUG_SMTP_OUTPUT_PATH** environment variable. For example like\n``DEBUG_SMTP_OUTPUT_PATH=mails python -m smtpd -n -c mr.hermes.DebuggingServer localhost:8025``.\n\nBuildout\n--------\n\nAdd a part to your config like this::\n\n [debugsmtp]\n # Run a simple smtp server on 8025 that echos incoming email\n recipe = zc.recipe.egg\n eggs = mr.hermes\n entry-points = debugsmtp=runpy:run_module\n scripts = debugsmtp\n host = localhost\n port = 8025\n path = ${buildout:directory}/var/mails\n initialization =\n import os\n os.environ.setdefault('DEBUG_SMTP_OUTPUT_PATH', '${:path}')\n sys.argv[1:] = ['-n', '-c', 'mr.hermes.DebuggingServer', '${:host}:${:port}']\n arguments = 'smtpd', run_name='__main__', alter_sys=True\n\nYou can then add this script to something like supervisord_ and use\n`mr.laforge`_ to automatically start it when you need it.\n\n.. _supervisord: http://pypi.python.org/pypi/supervisor\n.. _`mr.laforge`: http://pypi.python.org/pypi/mr.laforge\n\n\nChangelog\n=========\n\n1.4.0 - 2017-11-08\n------------------\n\n* Fixes for Python 3.6.\n [dokai (Kai Lautaportti), fschulze]\n\n\n1.3.0 - 2016-12-06\n------------------\n\n* Added ``*args`` and ``**kwargs`` in ``mr.hermes.DebugginServer.__init__`` to\n accept the new (even if unused) parameters introduced in Python 3.3 and 3.4\n and used when running the smtp module from cli.\n [duploduplo (Lorenzo Berni)]\n\n\n1.2 - 2013-07-22\n----------------\n\n* Make sure mails are sorted properly when filenames conflict.\n [dokai (Kai Lautaportti), fschulze]\n\n\n1.1 - 2011-08-04\n----------------\n\n* Fix packaging issue which basically made 1.0 a brownbag release.\n [fschulze]\n\n\n1.0 - 2011-08-04\n----------------\n\n* Initial release\n [fschulze (Florian Schulze)]", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/fschulze/mr.hermes", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "mr.hermes", "package_url": "https://pypi.org/project/mr.hermes/", "platform": "", "project_url": "https://pypi.org/project/mr.hermes/", "project_urls": { "Homepage": "http://github.com/fschulze/mr.hermes" }, "release_url": "https://pypi.org/project/mr.hermes/1.4.0/", "requires_dist": null, "requires_python": "", "summary": "A simple debug smtp server for development.", "version": "1.4.0" }, "last_serial": 3316416, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "db5974632aaa81b4e26c1ead5e2c8279", "sha256": "a4d8241610dc85369f89a7fdd3615e5caab73fc07748ac2090dcc1a701918a74" }, "downloads": -1, "filename": "mr.hermes-1.0.zip", "has_sig": false, "md5_digest": "db5974632aaa81b4e26c1ead5e2c8279", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6213, "upload_time": "2011-08-04T12:25:52", "url": "https://files.pythonhosted.org/packages/80/9a/a222e35f5e5fa9ee041965dd11595504b838f356feaec71c99382a6f5929/mr.hermes-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "80f9ae00437682ae58fe72170e6aa92f", "sha256": "cfdb8464f0db9f19eb4d87746f3fee0dc3555626a209a28003af800054ddcdcb" }, "downloads": -1, "filename": "mr.hermes-1.1.zip", "has_sig": false, "md5_digest": "80f9ae00437682ae58fe72170e6aa92f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6368, "upload_time": "2011-08-04T13:46:59", "url": "https://files.pythonhosted.org/packages/d8/5f/8bfda4baa726da7b2369d57b8f106a2155e497dbd112c89d1c5c623de4a2/mr.hermes-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "776f30ef41530432f2d0aa9084528ecf", "sha256": "e1ed08037a58fe4203aadfb05359fe4143a72d76ee0e56fc415a42759cdccab1" }, "downloads": -1, "filename": "mr.hermes-1.2.zip", "has_sig": false, "md5_digest": "776f30ef41530432f2d0aa9084528ecf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7273, "upload_time": "2013-07-22T15:00:23", "url": "https://files.pythonhosted.org/packages/3f/e4/60adeb02fe368879287f223a8672c8103d5c393dee77facc2c91bb3a46a9/mr.hermes-1.2.zip" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "4ab2864219d302262b6fb47584ca1081", "sha256": "0f20fe8fb94de439c29552165c024765852efd7ef2230a22591634c852ae63cc" }, "downloads": -1, "filename": "mr.hermes-1.3.0.tar.gz", "has_sig": false, "md5_digest": "4ab2864219d302262b6fb47584ca1081", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4163, "upload_time": "2016-12-06T14:49:21", "url": "https://files.pythonhosted.org/packages/07/7f/7832c5a6265154434ef76838bc2c28557e21ac2ad548f762a4e5e79e31a1/mr.hermes-1.3.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "7204a18545b563ec45ec8db339f42df4", "sha256": "ef7f63102fc1a8cb8e15300aa1a4c75500142a1495b1f1b19a7692e3c973d609" }, "downloads": -1, "filename": "mr.hermes-1.3.0.zip", "has_sig": false, "md5_digest": "7204a18545b563ec45ec8db339f42df4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8576, "upload_time": "2016-12-06T14:49:19", "url": "https://files.pythonhosted.org/packages/6c/72/146d7585db016578e83d5d26010404b1cdae0b243ee7430fbef2da0afdfb/mr.hermes-1.3.0.zip" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "7937217b0a42e0965aab1a7c698e26cd", "sha256": "0cd605101a696deeae435e846a11de3aa5af89b41fab39fe069c14264d857b7e" }, "downloads": -1, "filename": "mr.hermes-1.4.0.tar.gz", "has_sig": false, "md5_digest": "7937217b0a42e0965aab1a7c698e26cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4138, "upload_time": "2017-11-08T14:51:56", "url": "https://files.pythonhosted.org/packages/8a/b2/e0f26b2332f7fa17c927afb01bb4d49aabda60487825f4b2b3a86a449258/mr.hermes-1.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7937217b0a42e0965aab1a7c698e26cd", "sha256": "0cd605101a696deeae435e846a11de3aa5af89b41fab39fe069c14264d857b7e" }, "downloads": -1, "filename": "mr.hermes-1.4.0.tar.gz", "has_sig": false, "md5_digest": "7937217b0a42e0965aab1a7c698e26cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4138, "upload_time": "2017-11-08T14:51:56", "url": "https://files.pythonhosted.org/packages/8a/b2/e0f26b2332f7fa17c927afb01bb4d49aabda60487825f4b2b3a86a449258/mr.hermes-1.4.0.tar.gz" } ] }