Redesign imapsql-ctl utility (now named maddyctl)

Now it is not tied go-imap-sql details (with the exception of special
features), allowing it to be used with other storage backends that will
be added in the future.

--unsafe flag is removed and now maddyctl explicitly asks for
confirmation in cases where transaction may be unsafe for connected
clients. --yes flag disables that. In the future, maddy can be
extended with IPC interface to push updates so it this restriction
can be lifted altogether.
This commit is contained in:
fox.cpp 2019-10-20 01:49:35 +03:00
parent 547f35d41f
commit ae6decd876
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
24 changed files with 1241 additions and 1130 deletions

2
.gitignore vendored
View file

@ -22,7 +22,7 @@ _testmain.go
# Compiled binaries
cmd/maddy/maddy
cmd/imapsql-ctl/imapsql-ctl
cmd/maddyctl/maddyctl
cmd/maddy-*-helper/maddy-*-helper
# Config files