Paul Littlefield:
> Hello,
> 
> How would I rewrite all emails from one domain to another domain,
> apart from a single address, so that the messages are sent on to
> an external mail relay by default?
> 
> e.g.
> 
> @test.com > @example.com > smtp:relay
> joe.blo...@test.com > delivered locally

Rewrite the address to itself (this is how recursion stops).

> Is this canonical (http://www.postfix.org/canonical.5.html) ?

(I'd use virtual_alias_maps, because canonical maps can change 
message headers which may not be needed).

        Wietse

Reply via email to