Project Alouette: je te plume la queue (et je la remplace par mieux)

This commit is contained in:
mdecimus
2025-07-09 20:38:27 +02:00
parent 698ce0de2e
commit d04a4331c3
83 changed files with 3479 additions and 2987 deletions

View File

@@ -176,7 +176,7 @@ async fn build_server(mut config: Config, stores: Stores) -> (Server, watch::Sen
.enable_enterprise();
let data = Data::parse(&mut config);
let cache = Caches::parse(&mut config);
let (ipc, mut ipc_rxs) = build_ipc(&mut config, true);
let (ipc, mut ipc_rxs) = build_ipc(true);
let inner = Arc::new(Inner {
shared_core: core.into_shared(),
data,
@@ -290,10 +290,9 @@ directory = "'{STORE}'"
[resolver]
type = "system"
[queue.outbound]
next-hop = [ { if = "rcpt_domain == 'example.com'", then = "'local'" },
{ if = "contains(['remote.org', 'foobar.com', 'test.com', 'other_domain.com'], rcpt_domain)", then = "'mock-smtp'" },
{ else = false } ]
[queue.strategy]
gateway = [ { if = "rcpt_domain == 'example.com'", then = "'local'" },
{ else = "'mx'" } ]
[store."foundationdb"]
type = "foundationdb"