mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-28 20:56:03 +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:
15
test/t-22-forward_via/zones
Normal file
15
test/t-22-forward_via/zones
Normal file
@@ -0,0 +1,15 @@
|
||||
primary A 127.0.0.10
|
||||
secondary A 127.0.0.11
|
||||
external A 127.0.0.20
|
||||
|
||||
dodo MX 10 primary
|
||||
dodo MX 20 secondary
|
||||
|
||||
# We need to use mx/8 because the source address will usually be 127.0.0.1,
|
||||
# not 127.0.0.10 or 127.0.0.11.
|
||||
# TODO: Once we support specifying a sender IP address, we should use that
|
||||
# and remove the /8.
|
||||
dodo TXT v=spf1 mx/8 -all
|
||||
|
||||
kiwi MX 10 external
|
||||
kiwi TXT v=spf1 mx/8 -all
|
||||
Reference in New Issue
Block a user