On Mon, Dec 31, 2012 at 05:00:52PM -0500, Wietse Venema wrote: > 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.
Much too much in my case. The client app sends messages in batches, and in 30 seconds much more than 1% of a batch will get processed, especially given that the canary IP address transport will mostly see fast rejections. -- Marcin Owsiany <mar...@owsiany.pl> http://marcin.owsiany.pl/ GnuPG: 2048R/02F946FC 35E9 1344 9F77 5F43 13DD 6423 DBF4 80C6 02F9 46FC "Every program in development at MIT expands until it can read mail." -- Unknown