Skip to main content

ManageSieve client library for remotely managing Sieve scripts

Project description

A ManageSieve client library for remotely managing Sieve scripts, including an user application (the interactive ‘sieveshell’).

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 the ManageSieve Internet draft.

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.4

  • fixed short read (thanks to paurkedal for submitting the patch)

  • Use ssl.wrap_socket() instead of deprecated socket.ssl(). Thanks to Guido Berhoerster for submitting the patch.

Changes since 0.3

managesieve:
  • now works with Python 2.3 and later

  • added support for TLS (STARTTLS), special thanks to Gregory Boyce for fixing some corner cases here

  • added support for PLAIN authentication

  • use optparse if available instead of optik.

  • API change: login() no longer uses the LOGIN authentication mechanism, but has become a convenience function. It uses the best mechanism available for authenticating the user.

  • Several Bugfixes, see HISTORY for details.

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

sieveshell:
  • added support for different authentication mechanisms

  • added option –start-tls

  • several other enhancements and bugfixes

Availability

‘managesieve’ is available for download at http://python-managesieve.origo.ethz.ch/

Requirements

managesieve requires Python >= 2.0

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 and Gregory Boyce 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 Distributions

managesieve-0.4.2.zip (75.9 kB view hashes)

Uploaded Source

managesieve-0.4.2.tar.bz2 (37.5 kB view hashes)

Uploaded Source

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