CLI account management + Directory refactoring

This commit is contained in:
mdecimus
2023-12-18 22:25:42 +01:00
parent 566a2a0ab8
commit ea94de6d77
91 changed files with 3531 additions and 1846 deletions

View File

@@ -8,3 +8,6 @@ directory = "default"
[jmap.session.cache]
ttl = "1h"
size = 100
[jmap.session.purge]
frequency = "15 * *"

View File

@@ -2,31 +2,10 @@
# JMAP server store configuration
#############################################
[store.db]
path = "%{BASE_PATH}%/data/index.sqlite3"
[store.db.pool]
max-connections = 10
#workers = 8
[store.db.cache]
size = 1000
[store.blob]
type = "local"
[store.blob.local]
path = "%{BASE_PATH}%/data/blobs"
[store.blob.s3]
bucket = "stalwart"
region = "eu-central-1"
access-key = "minioadmin"
secret-key = "minioadmin"
#endpoint = ""
#security-token = ""
#profile = ""
timeout = "30s"
[jmap.store]
data = "rocksdb"
fts = "rocksdb"
blob = "rocksdb"
[jmap.encryption]
enable = true
@@ -35,7 +14,5 @@ append = false
[jmap.fts]
default-language = "en"
[jmap.purge.schedule]
db = "0 3 *"
blobs = "30 3 *"
sessions = "15 * *"
[jmap.cluster]
node-id = 1