Re: logging TLS SNI hostname

2016-10-16 Thread Arkadiusz Miśkiewicz
On Monday 30 of May 2016, Arkadiusz Miśkiewicz wrote: > Is there a way to log SNI hostname used in TLS session? Info is there in > SSL_CTX_set_tlsext_servername_callback, dovecot copies it to > ssl_io->host. > > Unfortunately I don't see it expanded to any variables ( > http://wiki.dovecot.org/Var

Re: Dict proxy client returning empty string instead of multiline string

2016-10-16 Thread Aki Tuomi
Hi! This does sound like a bug, we'll have look. Aki On 17.10.2016 01:26, Pierre Jaury wrote: > I dived a little bit further into the rabbit hole, up to the point where > debugging has become unpracticle but I still haven't found the root > cause for sure. > > I read most of the code for "p_str

Dict proxy client returning empty string instead of multiline string

2016-10-16 Thread Pierre Jaury
Hello, I am using a dict proxy for my sieve extdata plugin to access some fields from an SQLite database (autoreply text and other database-configured items). All tests are performed against version 2.2.25. $ dovecot --version 2.2.25 (7be1766) My configuration looks like: dict { siev

Re: Dict proxy client returning empty string instead of multiline string

2016-10-16 Thread Pierre Jaury
I dived a little bit further into the rabbit hole, up to the point where debugging has become unpracticle but I still haven't found the root cause for sure. I read most of the code for "p_strdup" based on datastack memory pools (which are used for dictionary lookups both with doveadm and by extdat