Skip to main content

ManageSieve client library for remotely managing Sieve scripts

Project description

Author: Hartmut Goebel <h.goebel@crazy-compiler.com>
Version: 0.7.1
Copyright: 2003-2021 by Hartmut Goebel
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.6

  • Minimum required Python version is now Python 3.6.
sieveshell:
  • For get and put expand ~ and ~user constructions in filename . For put, if script-name is not given, the file’s basename is used.
  • Some minor clean-up.
managesieve:
  • Fix error when constructing debug error message.
  • Actually raise debug-only exceptions instead of jsut returning them.
  • Fix invalid string-escape in docstring.
  • Some minor clean-up.

Requirements and Installation

managesieve requires

  • Python (tested 2.7 and 3.4—3.6, but newer versions should work, too), and
  • setuptools or 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.

Files for managesieve, version 0.7.1
Filename, size File type Python version Upload date Hashes
Filename, size managesieve-0.7.1-py2.py3-none-any.whl (28.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size managesieve-0.7.1.tar.gz (68.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page