Change storage to sqlite + filesystem
This commit is contained in:
parent
188237a41d
commit
a15b0ee5d6
2 changed files with 30 additions and 1 deletions
|
@ -181,7 +181,7 @@ in {
|
|||
"lookup.default.hostname"
|
||||
"certificate.*"
|
||||
] # the default ones
|
||||
++ ["sieve.trusted.*"]; #for macros to be able to include our redirection script
|
||||
++ ["sieve.trusted.scripts.*"]; #for macros to be able to include our redirection script
|
||||
sieve.trusted.scripts.redirects.contents = "%{file:/tmp/virt_aliases}%"; # generated redirect script
|
||||
session.data.script = "'redirects'";
|
||||
|
||||
|
@ -190,6 +190,13 @@ in {
|
|||
# see passwd on azathoth for plaintext or machine secret in encoded format for HTTP Basic AUTH
|
||||
secret = cfg.stalwartAdminHash;
|
||||
};
|
||||
store = {
|
||||
# structured data in SQLite, blobs on filesystem
|
||||
db.type = "sqlite";
|
||||
db.path = "/var/lib/stalwart-mail/data/index.sqlite3";
|
||||
fs.type = "fs";
|
||||
fs.path = "/var/lib/stalwart-mail/data/blobs";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue