[ resent for thread stability =8( ]


Hi,

On Fri, 24.09.2010 at 13:05:27 -0400, Wietse Venema <wie...@porcupine.org> 
wrote:
> Then you made a mistake somewhere. The transport map is used late
> in the mail routing machinery.
>
> To debug:
>
> $ postmap -q u...@example.com pgsql:/etc/postfix/transport_maps
>
> The output should look like "local:" or "local:mumble".

thanks for the hints. I've tried again. Now I can see that:

email=# select * from transport_map where email ilike '%bugs%';
 id |      email       | transport
----+------------------+-----------
 11 | r...@bugs.oeko.net | local:
 10 | bugs.oeko.net    | local:
(2 rows)


# postmap  -q  rt-comm...@bugs.oeko.net  pgsql:/etc/postfix/transport_maps
# postmap  -q  r...@bugs.oeko.net  pgsql:/etc/postfix/transport_maps
local:
#


I have trouble reconciling this with the pattern matching section in
transport(5). In PostgreSQL's log, I see only this query:

SELECT transport from transport_map where email = 'rt-comm...@bugs.oeko.net'

Do I need to specifically enable pattern matching somehow?


On a side note, can I specify some kind of query results caching?



Kind regards,
--Toni++

Reply via email to