Philip Paeps:
> On mx1.freebsd.org, we have a configuration that (vastly simplified)
> looks something like this:
>
> > virtual_maps = hash:/usr/local/etc/postfix/virtual
> > transport_maps = hash:/usr/local/etc/postfix/transport
>
> We have freebsd.org configured as a Postfix-style virtual domain
> virtual:
>
> > freebsd.org virtual
>
> There are certain addresses we'd like to catch on mx1 though, before
> virtual processing takes place.
>
> e.g. in transport we have
>
> [elided]@freebsd.org: error:5.2.1 User has left this world
>
> However, mail always hits virtual and the transport map appears to be
> ignored.
By definition, a recipient address in a virtual alias domain is
rewritten to a recipient address in a different domain. Postfix never
delivers mail "to" a virtual alias domain, which explains why there
is no query for it in the transport map.
To reject mail for a recipient address in a virtual alias domain,
delete the recipient from the virtual alias mapping.
Wietse