{ "info": { "author": "Denis Pompilio (jawa)", "author_email": "denis.pompilio@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Communications :: Email", "Topic :: System :: Shells", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "|PythonPIP|_ |PythonSupport|_ |License|_ |Codacy|_ |Coverage|_ |RTFD|_ |Travis|_\n\npymailq - Simple Postfix queue management\n=========================================\n\n| **Contact:** Denis 'jawa' Pompilio \n| **Sources:** https://github.com/outini/pymailq/\n|\n| A full content documentation, is online at https://pymailq.readthedocs.io/en/latest/\n|\n| The pymailq module makes it easy to view and control Postfix mails queue. It\n| provide several classes to store, view and interact with mail queue using\n| Postfix command line tools. This module is provided for automation and\n| monitoring developments.\n|\n| This project also provides a shell-like to interact with Postfix mails queue.\n| It provide simple means to view the queue content, filter mails on criterias\n| like Sender or delivery errors and lead administrative operations.\n\nInstallation\n------------\n\nInstall pymailq module from https://pypi.python.org::\n\n pip install pymailq\n\nInstall pymailq module from sources::\n\n python setup.py install\n\nA SPEC file is also provided for RPM builds (currently tested only on Fedora),\nthanks to Nils Ratusznik (https://github.com/ahpnils). Debian binary packages\nare also available.\n\nRequirements\n------------\n\nThis module actually support the following Python versions:\n\n* *Python 2.7*\n* *Python 3+*\n\nA shell is provided for interactive administration. Based on Python *cmd*\nmodule, using Python compiled with *readline* support is highly recommended\nto access shell's full features.\n\nUsing the shell\n---------------\n\nMails queue summary::\n\n ~$ pqshell --summary\n\n ====================== Mail queue summary ========================\n Total mails in queue: 1773\n Total queue size: 40.2 MB\n\n Mails by accepted date:\n last 24h: 939\n 1 to 4 days ago: 326\n older than 4 days: 173\n\n ----- Mails by status ---------- ----- Mails by size ----------\n Active 2 Average size 23.239 KB\n Hold 896 Maximum size 1305.029 KB\n Deferred 875 Minimum size 0.517 KB\n\n ----- Unique senders ----------- ----- Unique recipients ------\n Senders 156 Recipients 1003\n Domains 141 Domains 240\n\n ----- Top senders ------------------------------------------------\n 228 sender-3@domain-1.tld\n 195 sender-1@domain-4.tld\n 116 MAILER-DAEMON\n 105 sender-2@domain-2.tld\n 61 sender-7@domain-3.tld\n\n ----- Top sender domains -----------------------------------------\n 228 domain-1.tld\n 195 domain-4.tld\n 105 domain-2.tld\n 75 domain-0.tld\n 61 domain-3.tld\n\n ----- Top recipients ---------------------------------------------\n 29 user-1@domain-5.tld\n 28 user-5@domain-9.tld\n 23 user-2@domain-8.tld\n 20 user-3@domain-6.tld\n 20 user-4@domain-7.tld\n\n ----- Top recipient domains --------------------------------------\n 697 domain-7.tld\n 455 domain-5.tld\n 37 domain-6.tld\n 37 domain-9.tld\n 34 domain-8.tld\n\nUsing the shell in interactive mode::\n\n ~$ pqshell\n Welcome to PyMailq shell.\n PyMailq (sel:0)> store load\n 500 mails loaded from queue\n PyMailq (sel:500)> show selected limit 5\n 2017-09-02 17:54:34 B04C91183774 [deferred] sender-6@test-domain.tld (425B)\n 2017-09-02 17:54:34 B21D71183681 [deferred] sender-2@test-domain.tld (435B)\n 2017-09-02 17:54:34 B422D11836AB [deferred] sender-7@test-domain.tld (2416B)\n 2017-09-02 17:54:34 B21631183753 [deferred] sender-6@test-domain.tld (425B)\n 2017-09-02 17:54:34 F2A7E1183789 [deferred] sender-2@test-domain.tld (2416B)\n ...Preview of first 5 (495 more)...\n PyMailq (sel:500)> show selected limit 5 long\n 2017-09-02 17:54:34 B04C91183774 [deferred] sender-6@test-domain.tld (425B)\n Rcpt: user-3@test-domain.tld\n Err: Test error message\n 2017-09-02 17:54:34 B21D71183681 [deferred] sender-2@test-domain.tld (435B)\n Rcpt: user-3@test-domain.tld\n Err: Test error message\n 2017-09-02 17:54:34 B422D11836AB [deferred] sender-7@test-domain.tld (2416B)\n Rcpt: user-2@test-domain.tld\n Err: mail transport unavailable\n 2017-09-02 17:54:34 B21631183753 [deferred] sender-6@test-domain.tld (425B)\n Rcpt: user-3@test-domain.tld\n Err: mail transport unavailable\n 2017-09-02 17:54:34 F2A7E1183789 [deferred] sender-2@test-domain.tld (2416B)\n Rcpt: user-1@test-domain.tld\n Err: mail transport unavailable\n ...Preview of first 5 (495 more)...\n PyMailq (sel:500)> select error \"Test error message\"\n PyMailq (sel:16)> show selected rankby sender\n sender count\n ================================================\n sender-2@test-domain.tld 7\n sender-4@test-domain.tld 3\n sender-6@test-domain.tld 2\n sender-5@test-domain.tld 1\n sender-8@test-domain.tld 1\n sender-3@test-domain.tld 1\n sender-1@test-domain.tld 1\n PyMailq (sel:16)> select sender sender-2@test-domain.tld\n PyMailq (sel:7)> super hold\n postsuper: Placed on hold: 7 messages\n PyMailq (sel:7)> select reset\n Selector resetted with store content (500 mails)\n PyMailq (sel:500)> show selected rankby status\n status count\n ================================================\n deferred 493\n hold 7\n PyMailq (sel:500)> exit\n Exiting shell... Bye.\n\nPackaging\n---------\n\nBinary packages for some linux distribution are available. See the *packaging*\ndirectory for more information.\n\nLicense\n-------\n\n\"GNU GENERAL PUBLIC LICENSE\" (Version 2) *(see LICENSE file)*\n\n\n.. |PythonPIP| image:: https://img.shields.io/pypi/v/pymailq.svg\n.. _PythonPIP: https://pypi.python.org/pypi/pymailq/\n.. |PythonSupport| image:: https://img.shields.io/badge/python-2.7,%203.4,%203.5,%203.6-blue.svg\n.. _PythonSupport: https://github.com/outini/pymailq/\n.. |License| image:: https://img.shields.io/badge/license-GPLv2-blue.svg\n.. _License: https://github.com/outini/pymailq/\n.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/8444a0f124fe463d86a91d80a2a52e7c\n.. _Codacy: https://www.codacy.com/app/outini/pymailq\n.. |Coverage| image:: https://api.codacy.com/project/badge/Coverage/8444a0f124fe463d86a91d80a2a52e7c\n.. _Coverage: https://www.codacy.com/app/outini/pymailq\n.. |RTFD| image:: https://readthedocs.org/projects/pymailq/badge/?version=latest\n.. _RTFD: http://pymailq.readthedocs.io/en/latest/?badge=latest\n.. |Travis| image:: https://travis-ci.org/outini/pymailq.svg?branch=master\n.. _Travis: https://travis-ci.org/outini/pymailq", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/outini/pymailq", "keywords": "postfix,shell,mailq,python,pqshell,postqueue", "license": "GPLv2", "maintainer": "", "maintainer_email": "", "name": "pymailq", "package_url": "https://pypi.org/project/pymailq/", "platform": "UNIX", "project_url": "https://pypi.org/project/pymailq/", "project_urls": { "Homepage": "https://github.com/outini/pymailq" }, "release_url": "https://pypi.org/project/pymailq/0.9.0/", "requires_dist": null, "requires_python": "", "summary": "Postfix queue control python tool", "version": "0.9.0" }, "last_serial": 3156093, "releases": { "0.5.3": [ { "comment_text": "", "digests": { "md5": "3007e52d734eda053fc66532d4de1650", "sha256": "b66eb223c35ac0e6bf4d6d98a5a53cb461051343bf66c8bbe1ca99426e2be258" }, "downloads": -1, "filename": "pymailq-0.5.3.tar.gz", "has_sig": false, "md5_digest": "3007e52d734eda053fc66532d4de1650", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25044, "upload_time": "2017-02-13T17:19:41", "url": "https://files.pythonhosted.org/packages/bb/10/2e4d45aac007fb12f5a7529f9935be56d6f545ce5fbdd7be0584f4ea4a09/pymailq-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "f74cf0c23c144653db05d6cf83bae0c5", "sha256": "25e6afc496c5cbd46221ced5c3db2f0bf86acdbe2f0a8753493143b75768b493" }, "downloads": -1, "filename": "pymailq-0.5.4.tar.gz", "has_sig": false, "md5_digest": "f74cf0c23c144653db05d6cf83bae0c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25038, "upload_time": "2017-02-21T14:00:01", "url": "https://files.pythonhosted.org/packages/86/6b/4ff5713e8e863ba98e010feb11c005d516544ced747c2caf7424ff179f78/pymailq-0.5.4.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "0bdc7d6f29b1b473cb520445af6ae4ef", "sha256": "e47e2ea774db54ad7e72ef9dc16ca8041ca0d8cd66aa747a7d1d741100089a36" }, "downloads": -1, "filename": "pymailq-0.6.0.tar.gz", "has_sig": true, "md5_digest": "0bdc7d6f29b1b473cb520445af6ae4ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25773, "upload_time": "2017-08-16T16:06:47", "url": "https://files.pythonhosted.org/packages/05/76/290e569c2ab146733759167bb50ce72f318b20d35dc1c0cfb7b9ac430bce/pymailq-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "b6ece639dbef9e24e51e10e0c3380bf5", "sha256": "ed6a40daff54b0c4549676810c4261296a821d0eeff3f645be7c811d2804ade0" }, "downloads": -1, "filename": "pymailq-0.7.0.tar.gz", "has_sig": true, "md5_digest": "b6ece639dbef9e24e51e10e0c3380bf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27037, "upload_time": "2017-08-24T21:18:45", "url": "https://files.pythonhosted.org/packages/a8/27/ff9e9a439d238672f547eef4d336644fb52a573615358baa43b683d2da2d/pymailq-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "b2be4074b998f76119283b347f71ad5f", "sha256": "48b463d8a7563b2cb368a60c169143a3f1b3b5f8bf232610d7bfc2c0c18644ec" }, "downloads": -1, "filename": "pymailq-0.8.0.tar.gz", "has_sig": true, "md5_digest": "b2be4074b998f76119283b347f71ad5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29881, "upload_time": "2017-08-28T13:46:34", "url": "https://files.pythonhosted.org/packages/1a/bb/39174fae3f77251119a0624ae68a52aebfdb0898be7d5bf446619906dc68/pymailq-0.8.0.tar.gz" } ], "0.9.0": [ { "comment_text": "", "digests": { "md5": "71e5921c98e162cc138ae9938c992ce8", "sha256": "9a492b178d9a788eadb8fbf98897b9ef10a374f789487ae6dc18313b4c2798de" }, "downloads": -1, "filename": "pymailq-0.9.0.tar.gz", "has_sig": true, "md5_digest": "71e5921c98e162cc138ae9938c992ce8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32640, "upload_time": "2017-09-07T11:29:36", "url": "https://files.pythonhosted.org/packages/8c/24/4c79bf7dcf13daef5e1a3e2048aa610a3e17c7136493d3dfc33013ed16f0/pymailq-0.9.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "71e5921c98e162cc138ae9938c992ce8", "sha256": "9a492b178d9a788eadb8fbf98897b9ef10a374f789487ae6dc18313b4c2798de" }, "downloads": -1, "filename": "pymailq-0.9.0.tar.gz", "has_sig": true, "md5_digest": "71e5921c98e162cc138ae9938c992ce8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32640, "upload_time": "2017-09-07T11:29:36", "url": "https://files.pythonhosted.org/packages/8c/24/4c79bf7dcf13daef5e1a3e2048aa610a3e17c7136493d3dfc33013ed16f0/pymailq-0.9.0.tar.gz" } ] }