On 4/8/2021 1:44 PM, Clifford Gonsalves wrote:
Hello Again,
The servers are 1 Exchange and 1 Zimbra.
Can this work?
1: First server delivery via transport map.
2: Second delivery via address rewrite (recipient _bcc maps ) then
transport map to the rewritten address.
3: At Zimbra rewrite address again and delivery to local mailbox.
The solution is only required for incoming emails from the Internet.
Clifford
The general idea is right. Use virtual_alias_maps to add a second
recipient in another temporary domain; use transport_maps to route
the temp domain to the secondary mail server; use smtp_header_checks
to rewrite the temp domain back to the original during delivery.
incomplete example:
#virtual_alias
us...@example.com us...@example.com us...@backup.example.com
us...@example.com us...@example.com us...@backup.example.com
(repeat for each user)
#smtp_header
/^(.+)@backup\.example\.com$/ $1...@example.com
#transport
backup.example.com relay:mx.backup.example.com
-- Noel Jones