Skip to main content

Implements an RFC-5804 Manage Sieve client.

Project description

Overview

A pure Python client implementation of “A Protocol for Remotely Managing Sieve Scripts”, as defined in RFC-5804. It works with either Python 2.7 or Python 3.3+.

Module Contents

class Managesieve

The main class for interactive with sieve server.

Exceptions

BaseException

The base class for all exceptions raised by managesieve3.

ServerResponseNo

The sieve server sent a NO response. See RFC-5804 for details.

Available fields are:

Name

Description

name

The name of the RFC-5804 command that was being executed when the server returned a NO response.

code

The code returned in the NO response. This is a list (possibly of length 1) of the heirarchical response codes.

text

The human readable text error message, if any.

results

The textual body of the response, if any.

ServerResponseBye

The sieve server sent a BYE response. See RFC-5804 for details.

Available fields are:

Name

Description

name

The name of the RFC-5804 command that was being executed when the server returned a BYE response.

code

The code returned in the BYE response. This is a list (possibly of length 1) of the heirarchical response codes.

text

The human readable text error message, if any.

results

The textual body of the response, if any.

ServerProtocolError

The client code detected a protocol error when talking to the sieve server.

Change log

0.1 2015-xx-xx Eric V. Smith

  • Initial release.

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

managesieve3-0.1a5.tar.gz (10.0 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