SieveManager
Sieve is a programming language for filtering email. Sieve scripts are typically run by the mail server when mail is delivered to an inbox, so they need to be managed remotely.
SieveManager is a command-line client for uploading, downloading, and managing remote Sieve scripts using the ManageSieve protocol. It can also be used as a Python module.
WARNING: The command-line interface, the configuration semantics, and the Python API may still change.
Example
Upload and activate a Sieve script:
$ sievemgr user@imap.foo.example
user@imap.foo.example's password: <password>
sieve://user@imap.foo.example> put script.sieve
sieve://user@imap.foo.example> activate script.sieve
In Python:
from sievemgr import SieveManager
with SieveManager('imap.foo.example') as mgr:
mgr.authenticate('user', 'password')
with open('sieve.script', 'br') as script:
mgr.putscript(script, 'sieve.script')
mgr.setactive('sieve.script')
Features
Complies fully with RFC 5804 (ManageSieve protocol)
Login can be automated with:
Password managers
GnuPG-encrypted password files
sieve.cf
.netrc
Password-based authentication with:
CRAM-MD5
LOGIN
PLAIN
SCRAM-* and SCRAM-*-PLUS [1] with
SHA-1
SHA-2-234
SHA-2-256
SHA-2-384
SHA-2-512
SHA-3-512
TLS client authentication
Proxy authentication
Tab-completion
Scriptable
Emacs-like backup of scripts
Checks whether TLS certificates have been revoked (using lightweight OCSP)
Supports TLS Server Name Indication
Supports giving IPv6 addresses on the command-line
Documentation
Use sievemgr -h, type “help” in the SieveManager shell, or see the home page.
Contact
- Home page:
- Issue tracker:
- Source code (primary):
- Source code (secondary):
License
Copyright 2023 and 2024 Odin Kroeger
SieveManager is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the FreeSoftware Foundation, either version 3 of the License, or (at your option) any later version.
SieveManager is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SieveManager. If not, see <https://www.gnu.org/licenses/>.
Metadata
Release files for sievemgr 0.7.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sievemgr-0.7.4.7.tar.gz | 76.6 kB | Without provenance | Details for sievemgr-0.7.4.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sievemgr-0.7.4.7-py3-none-any.whl | Python 3 | none | any | Details for sievemgr-0.7.4.7-py3-none-any.whl |
Total release size: 137.8 kB
Release files / sievemgr-0.7.4.7.tar.gz
| Download URL | sievemgr-0.7.4.7.tar.gz |
|---|---|
| Size | 76.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72bc08a47e8e390948287449ade63d5f0f025c1aaa1d90c1de20b048432654d2
|
|
BLAKE2b-256 checksum How to use checksums |
0fbab66df22f0debb44e89cbcc5098e7411e0f705f4a16d0e85d249fc4fac1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / sievemgr-0.7.4.7-py3-none-any.whl
| Download URL | sievemgr-0.7.4.7-py3-none-any.whl |
|---|---|
| Size | 61.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94737d3bba7276bc304188517a6f86188e2cc676c65d3eb0eb27de5795fc86d2
|
|
BLAKE2b-256 checksum How to use checksums |
6b4977bc2d08731f2fbcfd60a1a2cc8cc89700e551f42b6aa7ac780ceb212f35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for sievemgr 0.7.4.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.