On 02/06/16 13:04, Frank Elsner wrote:
> | client:
> | driver = plaintext
> | public_name = PLAIN
> | client_send = ${lookup{$host}lsearch{TBL/auth/client}{$value}fail}
> | client_set_id = $auth1
>
> works perfect, but the logline doesn't show the username used:
>
> ... X=TLSv1:DHE-RSA-AES256-SHA:256 A=client C="250 OK id=1b84NA-003DIj-SE" QT=2s DT=1s
> ^^^^^^^^
>
> Is the problem on my side or is this a bug?
Yours.
Docs say "the value of the most recent prompt is placed in the next
$auth<n> variable"
Note, the received prompt, not your client response to the prompt.
For your case just duplicate the client_send lookup (lookups
are cached so it is not expensive).
--
Cheers,
Jeremy