On Thu, Jan 28, 2016 at 12:50:53PM +0100, richard lucassen wrote:

> On Thu, 28 Jan 2016 06:17:09 -0500 (EST)
> [email protected] (Wietse Venema) wrote:
> 
> > richard lucassen:
> > > When I send a message, I get a number of lines in the logs telling
> > > me:
> > > 
> > > SSL_accept:unknown state
> > > 
> > > Everything works fine. Anyone a hint?
> > 
> > Do not turn on verbose logging.
> 
> Oops :)

However it does indicate a potential DLL-hell problem with your
SSL library.  It really should not be the case the that the SSL
state is not recognized unless you've got two different libraries
loaded with intermingled symbols.

I would look for multiple copies of libssl on your system and figure
out how Postfix ends up using more than one.  Or some other similar
issue.

There's a giant switch() statement in

        const char *SSL_state_string_long(const SSL *s)
        {
                ...
        }

that reports the string names of all the states.  Another possibility
is someone tried to "save space" by compiling OpenSSL without all
the state name strings, "because nobody needs them".

-- 
        Viktor.

Reply via email to