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. >
recipient transport decisions are documented here: http://www.postfix.org/transport.5.html There are additionally some sender-dependent mechanisms: http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps You'll notice that none of these mechanisms use more than one key. If your highly unusual mail routing depends on multiple keys, postfix may not be the best MTA choice for you. Maybe if you explain why you need this highly unusual routing an alternate solution can be found. -- Noel Jones