Re: transport_maps and tcp_table lookup

2015-02-17 Thread Wietse Venema
Marius Gologan: > Hi Wietse, > > This is a test machine. I was trying to capture the query in that /tmp/spawn > file. I get empty lines. > I don't think I get a correct query in 127.0.0.1:. It connects, gets the > echo and closes. It needs to read a query from standard input, and write a repl

RE: transport_maps and tcp_table lookup

2015-02-17 Thread Marius Gologan
t: Tuesday, February 17, 2015 8:27 PM To: Postfix users Subject: Re: transport_maps and tcp_table lookup Marius Gologan: > I other words, I would like to query different tcp_tables per > recipient@domain{1..n}.com <mailto:recipient@domain%7b1..n%7d.com> or > @domain{1..n}.com. Postfi

RE: transport_maps and tcp_table lookup

2015-02-17 Thread Marius Gologan
17, 2015 8:27 PM To: Postfix users Subject: Re: transport_maps and tcp_table lookup Marius Gologan: > I other words, I would like to query different tcp_tables per > recipient@domain{1..n}.com <mailto:recipient@domain%7b1..n%7d.com> or > @domain{1..n}.com. Postfix does not query dif

Re: transport_maps and tcp_table lookup

2015-02-17 Thread Wietse Venema
Marius Gologan: > I other words, I would like to query different tcp_tables per > recipient@domain{1..n}.com or > @domain{1..n}.com. Postfix does not query different tables for different domains. This applies to all table types. > 2. I can't get this

transport_maps and tcp_table lookup

2015-02-17 Thread Marius Gologan
Hi, I'm trying to implement a transport_maps with tcp_table lookup. I know a bit how hash, pcre, regex work, but it seems I'm getting confused about tcp_table. 1. Is there any way I can query recipi...@domain1.com, recipient or domain1.com in the tcp_table in order to have conditiona