You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.8 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. Mail cleanup
  4. ===========
  5. This module allows to mark e-mails older than x days as read
  6. and optionally move them on IMAP servers, just before fetching them.
  7. Since the main "mail" module does not mark unroutable e-mails as read,
  8. this means that if junk mail arrives in the catch-all address without
  9. any default route, fetching newer e-mails will happen after re-parsing
  10. those unroutable e-mails.
  11. Configuration
  12. =============
  13. This module depends on ``mail_environment`` in order to add "expiration dates"
  14. per server.
  15. Example of a configuration file (add those values to your server)::
  16. [incoming_mail.openerp_pop_mail1]
  17. cleanup_days = 30 # default value
  18. cleanup_folder = NotParsed # optional parameter
  19. Known issues / Roadmap
  20. ======================
  21. * None
  22. Bug Tracker
  23. ===========
  24. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
  25. In case of trouble, please check there if your issue has already been reported.
  26. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  27. `here <https://github.com/OCA/server-tools/issues/new?body=module:%20mail_cleanup%0Aversion:%207.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  28. Credits
  29. =======
  30. Contributors
  31. ------------
  32. * Matthieu Dietrich <matthieu.dietrich@camptocamp.com>
  33. Maintainer
  34. ----------
  35. .. image:: https://odoo-community.org/logo.png
  36. :alt: Odoo Community Association
  37. :target: https://odoo-community.org
  38. This module is maintained by the OCA.
  39. OCA, or the Odoo Community Association, is a nonprofit organization whose
  40. mission is to support the collaborative development of Odoo features and
  41. promote its widespread use.
  42. To contribute to this module, please visit http://odoo-community.org.