On 15/08/2012 22:14, Noel Jones wrote:
On 8/15/2012 1:28 PM, Harakiri wrote:
Is there an alternative way to have a custom TCP service answer to postfix
requests to where a mail should be relayed too - when postfix supplies all the
transport information (sender,recipient, sending IP) ? Postfix already has nice
table lookup and policy services - i dont see a reason why something like this
couldnt be part of postfix lookup mechanism.
[...]
Maybe if you explain why you need this highly unusual routing an
alternate solution can be found.
Hi,
sorry for sneaking in the thread. I was looking for something similar too.
For example in my case I use the transport maps via TCP lookup to
retrieve in round robin fashion (given by a script listening the GET
<destination>) between available outgoing "transport" lines.
I'd like to expand the simple round robin to something which would e.g
take in account the size of the outgoing message in order to choose the
best outgoing transport.
Big messages could be given the best upload bandwidth transport, which
smaller ones can be distributed to any.
Thanks
Angelo