[Dovecot] dovecot-auth %c variable is not working
bill at webmail.us
Fri Apr 20 21:50:29 EEST 2007
On Thu, April 19, 2007 3:23 pm, Andrey Panin <pazke at donpac.ru> said:
> On 109, 04 19, 2007 at 12:17:41PM -0400, Bill Boebel wrote:
>> In "doc/variables.txt"
>> > For dovecot-auth there are also these variables:
>> > %c - "secured" string with SSL, TLS and localhost connections.
>> > Otherwise empty.
>> %c does not appear to be working. I am trying to use it in a MySQL query userdb
>> and passdb query and it is always empty string.
> Seems like secured flag isn't passed to blocking passdb handler.
> Can you try attached patch ?
This patch indeed fixed it. Tested with all 4 protocols...
pop3 -> %c = ''
pop3s -> %c = 'secured'
imap -> %c = ''
imaps -> %c = 'secured'
More information about the dovecot