> Instead of using a DOMAIN_PORT kludge which requires "reserving"
> a TCP port or UNIX-domain pathname per customer,  it would make
> sense to use the existing Postfix connection caching mechanism. 
> 
> The idea is to push an open socket into the scache daemon (with a
> suitable time to live) under the name of the customer's domain.
> Then, the Postfix SMTP client would automatically find that open
> socket and start talking SMTP over it.


So I would push the socket to scache after I'm done setting it up
from SMTPD (auth, policy checks) and forget about it. If it times
out before local smtp will start deliver then the client is welcome to 
reconnect.
This will happen if it has to happen in SMTPD or in SCACHE the same way.
In fact it's a descriptor passing tweaked for smtp deliveries. Nice! :)







-- 
adrian ilarion ciobanu
adria...@ciobanu.name
http://pub.mud.ro/~cia
+40 788 319 497

Reply via email to