mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-09 17:55:57 +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/secondary/chasquid.conf
Normal file
10
test/t-22-forward_via/secondary/chasquid.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
smtp_address: "127.0.0.11:1025"
|
||||
submission_address: ":2587"
|
||||
submission_over_tls_address: ":2465"
|
||||
monitoring_address: ":2099"
|
||||
|
||||
mail_delivery_agent_bin: "test-mda"
|
||||
mail_delivery_agent_args: "secondary:%to%"
|
||||
|
||||
data_dir: "../.data-secondary"
|
||||
mail_log_path: "../.logs/secondary-mail_log"
|
||||
8
test/t-22-forward_via/secondary/domains/dodo/aliases
Normal file
8
test/t-22-forward_via/secondary/domains/dodo/aliases
Normal file
@@ -0,0 +1,8 @@
|
||||
# Part 1 of chain-1 (see run.sh for the full structure).
|
||||
chain-1-1: chain-1-2@dodo via primary
|
||||
|
||||
# Part 4 chain-1 (see run.sh for the full structure).
|
||||
chain-1-4: chain-1-5@dodo via primary
|
||||
|
||||
# Forward all email to the primary server.
|
||||
*: * via primary
|
||||
Reference in New Issue
Block a user