On Fri, Mar 21, 2014 at 03:50:24PM +0100, Stefan Moravcik wrote:

> I am trying to accomplish a connection cache for TLS. I set it up for non -
> TLS connections and it works just great.

The Postfix connection cache moves file descriptors between processes.
Unfortunately, the OpenSSL library does not support serializing
and de-serializing the SSL state of a live SSL connection.

So at this time, TLS connections are not cached.

> but the part in the brackets makes me wonder for a possibility, that if i
> keep sending emails over same smtp process, it could be possible. I looked
> everywhere, but was not able to find anything remotely helpful.

There is no cache internal to a single process.  That would only
work well with single-destination smtp transports.  Otherwise,
there would be lots of cached connections that never get used,
because the delivery agent is talking to someone else.

Since in-process caches would be most-likely misunderstood and
misused, they are not implemented.

-- 
        Viktor.

Reply via email to