RE: consolidate virtual and relay_recipients files

2019-03-11 Thread Samuel Torton
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

Re: consolidate virtual and relay_recipients files

2019-03-08 Thread Viktor Dukhovni
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

Re: consolidate virtual and relay_recipients files

2019-03-08 Thread Curtis Maurand
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