Re: [exim] Logging username with client SMTP AUTH

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] Logging username with client SMTP AUTH
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