On 22 May 2008 10:34:46 -0700
"Chris Babcock" <[EMAIL PROTECTED]> wrote:

> Chris Lewis wrote:
> Without killing connection notes, I don't see any sane way to determine 
> what notes were generated before vs after TLS was enabled. 
> Unfortunately, for some plugins that determination may be critical to 
> the behavior of the plugin.  It seems to me retaining both the pre-TLS 
> and post-TLS states would be the closest to ideal, but I'm sure there's 
> a way to do that sanely without breaking how the current plugins are 
> working.
As said before: if there's a real need for a "post-starttls" hook, we
can add it. 
But I think it should be enough to run a helo/ehlo hook and see if the
connection->note tls_enabled is true and probably check if this is the
second run of this hook with tls_enabled.

        Hanno

Reply via email to