please keep it on list Am 01.05.2014 18:19, schrieb Marcus: >> li...@rhsoft.net wrote: >>> Marcus: >>>> Noel Jones: >>>> Or maybe a PCRE map that replies to both "*" and not-local domains, >>>> leaving only the local domains for the slow map. >>> >>> Can PCRE reply be non-static or pseudo-random (if you will)? >>> I'm after something that works as following... >>> Sometimes 'example.com' is sent down 'foo' and other times it's >>> sent down 'bar' and there's no set rule that defines when "foo" or >>> "bar" are used, it's just "random". >>> >>> # Begin /etc/postfix/rand_transport.pcre >>> example.com foo: >>> example.com bar: >>> # End >> >> that should be handeled at the end of example.com >> with multiple A-records for their MX >> >> http://en.wikipedia.org/wiki/Round-robin_DNS > > I shouldn't have used the word "random". I should've said "dynamic" > transports, > since which transport to be used may vary at any given time. > Those transports "foo" and "bar" are required for internal processes and have > nothing to do with relay
from the viewpoint of the MTA it leaves it's machine and to it is relay consider start again with a complete decription what you want to achieve and avoid to propose solutions while you do that, that leads always to the problem of oversee solutions which may be easier and specifiy "may vary at any given time" because if it is not random it is configured - consider also take the complexity off one MTA by as example have a transport to a different, special MTA instance which may use SQL tables even if they may not be fast enough on the current MTA for the overall load which gives you great options for dynamic configuration with scripts and other software while avoid reloads