mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
aliases: Implement "via" aliases
This patch implements "via" aliases, which let us explicitly select a server to use for delivery. This feature is useful in different scenarios, such as a secondary MX server that forwards all incoming email to a primary. For now, it is experimental and the syntax and semantics are subject to change.
This commit is contained in:
10
test/t-22-forward_via/primary/chasquid.conf
Normal file
10
test/t-22-forward_via/primary/chasquid.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
smtp_address: "127.0.0.10:1025"
|
||||
submission_address: ":1587"
|
||||
submission_over_tls_address: ":1465"
|
||||
monitoring_address: ":1099"
|
||||
|
||||
mail_delivery_agent_bin: "test-mda"
|
||||
mail_delivery_agent_args: "primary:%to%"
|
||||
|
||||
data_dir: "../.data-primary"
|
||||
mail_log_path: "../.logs/primary-mail_log"
|
||||
5
test/t-22-forward_via/primary/domains/dodo/aliases
Normal file
5
test/t-22-forward_via/primary/domains/dodo/aliases
Normal file
@@ -0,0 +1,5 @@
|
||||
# Part 2 of chain-1 (see run.sh for the full structure).
|
||||
chain-1-2: chain-1-3@kiwi
|
||||
|
||||
# Part 5 of chain-1 (see run.sh for the full structure).
|
||||
chain-1-5: user111@dodo
|
||||
Reference in New Issue
Block a user