sievemgr is a command-line client for managing Sieve scripts on remote servers via the ManageSieve Protocol (RFC 5804). Given valid credentials, sievemgr can be invoked non-interactively in order to retrieve a list of all scripts, retrieve the scripts themselves, publish scripts on the a server, or delete them. Furthermore, it can be used to change the active script and to display information about the server.

Source Code Repository

The current development version is available from the source code repository.

News

2021-02-03: sievemgr 0.8.1

  • Fix SRV record lookup
  • Show SASL mechanisms from before authentication in info output
  • Add configuration example to the documentation
  • Fix headline

2020-12-23: sievemgr 0.8.0

  • Put generated documentation under version control
  • Update dependencies
  • Switch to golang.org/x/term module
  • Add man subcommand to display the user manual
  • Add documentation
  • Add edit subcommand for interactive editing of a script
  • Add rename subcommand for renaming scripts on the server
  • Add checkspace subcommand for querying the server for sufficient space
  • Introduce configuration file where account information is specified
  • Add check subcommand for checking the script validity
  • Show warning messages in put output
  • Show server implementation in info output
  • Add README file
  • Initial revision

News Feed

Documentation

Usage

The documentation can be displayed using the go doc command or accessed on pkg.go.dev.

Build Instructions

The sievemgr utility can be built by running go build ./cmd/sievemgr. See the Go documentation for details.

Contact

Please send any feedback, translations or bug reports via email to guido+sievemgr@berhoerster.name.

Bug Reports

When sending bug reports, please always mention the exact version of the managesieve package with which the issue occurs as well as the Go compiler and version and version of the operating system you are using and make sure that you provide sufficient information to reproduce the issue and include any input, output, any error messages.

In case of build issues, please also specify the implementations and versions of the tools used to build the package and/or program, in particular the Go compiler.

In case of crashes, please attach the full backtrace to the bug report.

License

Except otherwise noted, all files are Copyright (C) 2020 Guido Berhoerster and distributed under the following license terms:

Copyright (C) 2020 Guido Berhoerster guido+sievemgr@berhoerster.name

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.