mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-12-26 01:36:31 +08:00
This commit is contained in:
parent
e2eb851bfc
commit
79297c37b0
3 changed files with 9 additions and 3 deletions
|
@ -505,6 +505,7 @@ impl Patterns {
|
|||
Pattern::Include(MatchType::Equal("storage.fts".to_string())),
|
||||
Pattern::Include(MatchType::Equal("storage.directory".to_string())),
|
||||
Pattern::Include(MatchType::Equal("lookup.default.hostname".to_string())),
|
||||
Pattern::Include(MatchType::Equal("enterprise.license-key".to_string())),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ impl Stores {
|
|||
}
|
||||
}
|
||||
#[cfg(feature = "enterprise")]
|
||||
"composite-read" | "composite-blob" => {
|
||||
"sql-read-replica" | "composite-blob" => {
|
||||
composite_stores.push((store_id, protocol));
|
||||
}
|
||||
unknown => {
|
||||
|
|
|
@ -52,8 +52,8 @@ use utils::config::Config;
|
|||
use crate::{add_test_certs, directory::DirectoryStore, store::TempDir, AssertConfig};
|
||||
|
||||
const SERVER: &str = r#"
|
||||
[server]
|
||||
hostname = "'imap.example.org'"
|
||||
[lookup.default]
|
||||
hostname = "imap.example.org"
|
||||
|
||||
[server.listener.imap]
|
||||
bind = ["127.0.0.1:9991"]
|
||||
|
@ -152,6 +152,11 @@ database = "stalwart"
|
|||
user = "postgres"
|
||||
password = "mysecretpassword"
|
||||
|
||||
[store."psql-replica"]
|
||||
type = "sql-read-replica"
|
||||
primary = "postgresql"
|
||||
replicas = "postgresql"
|
||||
|
||||
[store."mysql"]
|
||||
type = "mysql"
|
||||
host = "localhost"
|
||||
|
|
Loading…
Reference in a new issue