Thanks a lot Viktor,
That's heavy, but safe !
--
Samuel Torton
-Original Message-
From: owner-postfix-us...@postfix.org On
Behalf Of Viktor Dukhovni
Sent: 08 March 2019 16:20
To: postfix-users@postfix.org
Subject: Re: consolidate virtual and relay_recipients files
On Wed, M
On Wed, Mar 06, 2019 at 05:34:03PM +, Samuel Torton wrote:
> virtual_alias_maps = hash:/etc/postfix/virtual
> relay_recipient_maps = hash:/etc/postfix/relay_recipients
> transport_maps = hash:/etc/postfix/transport
> ...
>
>
> Here is my /etc/postfix/virtual:
>
> ...
> @domain2.com
I would think about using the transport file for this. It's pretty
flexible. Check the docs, but I found this:
*"TABLE SEARCH ORDER*
With lookups from indexed files such as DB or DBM, or from networked
tables such as NIS, LDAP or SQL, patterns are tried in the order as