Marcin Owsiany:
> Ideally the smtp daemon would be able to bind to a few addresses and
> there would be an option to assign egress traffic split between them.
According to source code, the Postfix 2.5 and later resolver client
will reuse the trivial-rewrite daemon result for up to 30 seconds
when the request's (address class, sender address, recipient address)
are the same as the previous request.
According to the following comment, a similar strategy was adopted
for address rewriting and transport map wild-card results.
20070414
Cleanup: expire cached results from addres rewriting, address
resolution, and from transport map lookups. Results expire
after 30 seconds; short enough that it doesn't freak out
people who run the same test repeatedly, and long enough
that it doesn't upset other people with continuous streams
of "*" transport map lookups. Files: global/rewrite_clnt.c,
global/resolve_clnt.c, trivial-rewrite/transport.c.
Now the question is are 30 seconds too much or too little.
Wietse