{ "info": { "author": "Fedele Mantuano", "author_email": "mantuano.fedele@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "|PyPI version| |Build Status| |image2|\n\nuntroubled-spam-getter\n======================\n\nOverview\n--------\n\nThis tool gets the `Untroubled `__ spam\nmails. You can use this tool as daemon or not.\n\nDescription\n-----------\n\nThis tool gets the **Untroubled** spam mails and saves them on\nfilesystem. You can set the followings variables to change the defaults:\n\n::\n\n \"UNTROUBLED_TIMEOUT\": 20,\n \"UNTROUBLED_CACHE_PATH\": \"/var/tmp\",\n \"UNTROUBLED_STORE_PATH\": \"/tmp/untroubled_mails\",\n \"UNTROUBLED_WAIT_TIME\": 3600,\n \"UNTROUBLED_MONTHS\": 0,\n\n``UNTROUBLED_TIMEOUT``: timeout HTTP connections.\n``UNTROUBLED_CACHE_PATH``: path where store the cache files useful to\nget only mails delta. ``UNTROUBLED_STORE_PATH``: path where store the\nmails. ``UNTROUBLED_WAIT_TIME``: if daemon is enabled wait time seconds\nbefore gets new mails. ``UNTROUBLED_MONTHS``: how many months archive\nyou want get. 0 means only last month.\n\nYou can set environment variables or change them from command line.\nCommand line has the priority.\n\n::\n\n $ untroubled-spam-fetcher -h\n usage: fetcher.py [-h] [-l {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET}]\n [-c UNTROUBLED_CACHE_PATH] [-s UNTROUBLED_STORE_PATH]\n [-m UNTROUBLED_MONTHS] [-d] [-w UNTROUBLED_WAIT_TIME]\n [-t UNTROUBLED_TIMEOUT] [-v]\n\n Untroubled Fetcher\n\n optional arguments:\n -h, --help show this help message and exit\n -l {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET}, --log {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET}\n Log level (default: INFO)\n -c UNTROUBLED_CACHE_PATH, --cache-path UNTROUBLED_CACHE_PATH\n Cache path to store downloaded history (default: None)\n -s UNTROUBLED_STORE_PATH, --store-path UNTROUBLED_STORE_PATH\n Store path to store emails (default: None)\n -m UNTROUBLED_MONTHS, --months UNTROUBLED_MONTHS\n Months mails archive to get (no more 12) (default:\n None)\n -d, --daemon Start in daemon mode (default: False)\n -w UNTROUBLED_WAIT_TIME, --wait-time UNTROUBLED_WAIT_TIME\n Seconds to wait between two fetch (default: None)\n -t UNTROUBLED_TIMEOUT, --timeout UNTROUBLED_TIMEOUT\n HTTP timeout connection in seconds (default: None)\n -v, --version show program's version number and exit\n\nAuthors\n-------\n\nMain Author\n~~~~~~~~~~~\n\nFedele Mantuano (**Linkedin**: https://www.linkedin.com/in/fmantuano/)\n\nInstallation\n------------\n\n::\n\n $ cd /opt\n $ git clone https://github.com/SpamScope/untroubled-spam-fetcher.git\n $ virtualenv -p python3 venv\n $ source venv/bin/activate\n $ python setup.py install\n\nor\n\n::\n\n $ cd /opt\n $ virtualenv -p python3 venv\n $ source venv/bin/activate\n $ pip install untroubled-spam-fetcher\n\nTo install ``untroubled systemd service``:\n\n::\n\n $ cp systemd/untroubled.service /lib/systemd/system\n $ systemctl enable untroubled.service\n $ systemctl start untroubled.service\n\nUsage\n-----\n\n``untroubled-spam-fetcher`` only works with Python 3.\n\n::\n\n $ untroubled-spam-fetcher -l DEBUG -c /tmp/cache -s /tmp/mails -d\n\nIn this case runs as daemon, with logging in debug mode, uses\n``/tmp/cache`` as cache folder and ``/tmp/mails`` as folder where stores\nthe mails.\n\nDocker\n------\n\nIn the folder ``docker`` there are a ``Dockerfile`` and a\n``docker-compose``.\n\nExample to fetch mail with Docker image:\n\n::\n\n $ docker run --rm --name fetcher -ti fmantuano/spamscope-untroubled-spam-fetcher -l DEBUG\n\nIf you want run a Docker image as daemon use docker-compose:\n\n::\n\n $ docker-compose up -d\n\n.. |PyPI version| image:: https://badge.fury.io/py/untroubled-spam-fetcher.svg\n :target: https://badge.fury.io/py/untroubled-spam-fetcher\n.. |Build Status| image:: https://travis-ci.org/SpamScope/untroubled-spam-fetcher.svg?branch=develop\n :target: https://travis-ci.org/SpamScope/untroubled-spam-fetcher\n.. |image2| image:: https://images.microbadger.com/badges/version/fmantuano/untroubled-spam-fetcher:develop.svg\n :target: https://microbadger.com/images/fmantuano/untroubled-spam-fetcher:develop", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SpamScope/untroubled-spam-fetcher", "keywords": "mail,email,fetcher,untroubled", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "untroubled-spam-fetcher", "package_url": "https://pypi.org/project/untroubled-spam-fetcher/", "platform": "Linux", "project_url": "https://pypi.org/project/untroubled-spam-fetcher/", "project_urls": { "Homepage": "https://github.com/SpamScope/untroubled-spam-fetcher" }, "release_url": "https://pypi.org/project/untroubled-spam-fetcher/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "This tool gets the Untroubled spam mails", "version": "0.3.0" }, "last_serial": 3670762, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0b6f5bb478da09427c23af1f08a2d844", "sha256": "de084bf455fb4ebde68541a158094c964aca4ba1a03715588a4ea3ab9f6274e8" }, "downloads": -1, "filename": "untroubled-spam-fetcher-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0b6f5bb478da09427c23af1f08a2d844", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6721, "upload_time": "2018-03-04T23:34:23", "url": "https://files.pythonhosted.org/packages/52/f2/c9b6fd98c4ff5787a4389c9d05a9638ed547acb65e3a2ab33cd3cb78cca8/untroubled-spam-fetcher-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a5c1259267af8b6565e8dfe9e637206b", "sha256": "6a2f4508336c63ea8cbe03708033cc257516758cf1ad714f0cd71bd3133cb872" }, "downloads": -1, "filename": "untroubled-spam-fetcher-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a5c1259267af8b6565e8dfe9e637206b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6764, "upload_time": "2018-03-04T23:42:28", "url": "https://files.pythonhosted.org/packages/2a/35/e9c17cf9b81daee608f338dc01b5e0eb5fcd7e0056ef5b01e5c2f0e36b08/untroubled-spam-fetcher-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "b6411a196e70d514a06d0f8e3eae1d3d", "sha256": "416f31e9d8bac58e0e3bebfc5bbfb52e63b6d93b3330c023589131b6ce96a1ef" }, "downloads": -1, "filename": "untroubled-spam-fetcher-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b6411a196e70d514a06d0f8e3eae1d3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6898, "upload_time": "2018-03-04T23:49:30", "url": "https://files.pythonhosted.org/packages/fe/12/3edb5176e20bbf1ac9d6f38be5c6263fc2f85394c1df0f3afd2432bfe243/untroubled-spam-fetcher-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e31e3cdba6635bdbbd257d1814852eda", "sha256": "11e62d1038f25b9d8955c4d2b6392820e5d69abe0a2ed263ee5937d3ec1d8b7a" }, "downloads": -1, "filename": "untroubled-spam-fetcher-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e31e3cdba6635bdbbd257d1814852eda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6925, "upload_time": "2018-03-14T23:27:26", "url": "https://files.pythonhosted.org/packages/2f/23/a643f7d9b6f6d5c4bba437f2a3bc190ae42b8ff644c31eefb9019b0790f4/untroubled-spam-fetcher-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e31e3cdba6635bdbbd257d1814852eda", "sha256": "11e62d1038f25b9d8955c4d2b6392820e5d69abe0a2ed263ee5937d3ec1d8b7a" }, "downloads": -1, "filename": "untroubled-spam-fetcher-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e31e3cdba6635bdbbd257d1814852eda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6925, "upload_time": "2018-03-14T23:27:26", "url": "https://files.pythonhosted.org/packages/2f/23/a643f7d9b6f6d5c4bba437f2a3bc190ae42b8ff644c31eefb9019b0790f4/untroubled-spam-fetcher-0.3.0.tar.gz" } ] }