Skip to main content

RFC-5804 Manage Sieve client library for remotely managing Sieve scripts

Project description

Author:

Hartmut Goebel <h.goebel@crazy-compilers.com>

Version:
0.8
Licence:

Python Software Foundation License and GNU Public Licence v3 (GPLv3)

Homepage:

https://managesieve.readthedocs.io/

Development:

https://gitlab.com/htgoebel/managesieve

Sieve scripts allow users to filter incoming email on the mail server. The ManageSieve protocol allows managing Sieve scripts on a remote mail server. These servers are commonly sealed so users cannot log into them, yet users must be able to update their scripts on them. This is what for the “ManageSieve” protocol is. For more information about the ManageSieve protocol see RFC 5804.

This module allows accessing a Sieve-Server for managing Sieve scripts there. It is accompanied by a simple yet functional user application ‘sieveshell’.

Changes since 0.7

  • Now supports Python 3.6 to 3.12.

managesieve:
  • Add support for the UNAUTHENTICATE command.

  • Add a socket timeout parameter.

  • Add support for IPv6.

  • Allow disabling certificate verification.

  • Follow the ‘Logging for a Library’ guideline.

  • BREAKING: Rearrange DEBUG logging levels to be more reasonable. See docs/Logging.rst for details.

sieveshell:
  • Add option ‘–no-tls-verify’.

  • Improve error message if TLS certificate verification fails.

  • Keep line-endings on file IO.

  • Remove temporary file on successful edit, too.

  • Fix: Pass to sieve.login() the Authorization ID

general:
  • Add support for Python 3.12.

  • Improve testing, add a tox.ini file and add CI/CD.

  • Fix SPDX license identifier.

  • Fix several typos.

  • Lint all the code.

  • Remove unused code.

Requirements and Installation

managesieve requires

  • Python 3.6—3.12 and

  • pip for installation.

Not yet implemented

  • sieve-names are only quoted dump (put into quotes, but no escapes yet).

Credits

Based on Sieve.py from Ulrich Eck <ueck@net-labs.de> which is part of of ‘ImapClient’ (see http://www.zope.org/Members/jack-e/ImapClient), a Zope product.

Some ideas taken from imaplib written by Piers Lauder <piers@cs.su.oz.au> et al.

Thanks to Tomas ‘Skitta’ Lindroos, Lorenzo Boccaccia, Alain Spineux, darkness, Gregory Boyce and Grégoire Détrez for sending patches.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

managesieve-0.8.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

managesieve-0.8-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file managesieve-0.8.tar.gz.

File metadata

  • Download URL: managesieve-0.8.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for managesieve-0.8.tar.gz
Algorithm Hash digest
SHA256 d8209bea1ebd1f9f184f56f28ff7e4adfcc6b0c51baf4187a492dc329b1213f3
MD5 7bbec58e1cb74f564fd2be58d4b3a9b7
BLAKE2b-256 b385df58b5722ab006799330bcaa2808fdbd02dc8df6a1cca338d5ce61c20c9d

See more details on using hashes here.

File details

Details for the file managesieve-0.8-py3-none-any.whl.

File metadata

  • Download URL: managesieve-0.8-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for managesieve-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7749d1b8ab741d1d18bc5ecc08b03543de3b6861d4ed48f041c46f1ff5375baf
MD5 b844361a4ae6bd97e697d978005d5168
BLAKE2b-256 61ea6527de3af526097ba8d9f3508d737e3a0733598c2c4931337741ff05434e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page