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 conditional answers? 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. So far, I assume transport_maps doesn't send a value to be queried against tcp_table. 2. I can't get this fixed: Feb 17 19:32:03 test postfix/trivial-rewrite[2670]: warning: read TCP map reply from [127.0.0.1]:5555: unexpected EOF (Connection reset by peer) Here is my relevant config: main.cf: transport_maps = tcp:[127.0.0.1]:5555 ... master.cf: 127.0.0.1:5555 inet n n n - 0 spawn user=nobody argv=/etc/postfix/spawn_test.sh # -f ${sender} -- ${recipient} spawn_test unix - - - - 5 smtp -o syslog_name=smtp_spawn_test ... spawn_test.sh: #!/bin/bash echo "$@" >> /tmp/spawn printf "220 spawn_test:\n" # was echo "220 spawn_test:" exit 0 Thank you! Marius.