Re: [exim] expansion error in OAuth2 client authenticator

Top Page
Delete this message
Reply to this message
Author: Victor Ustugov
Date:  
To: Andreas Metzler via Exim-users
Subject: Re: [exim] expansion error in OAuth2 client authenticator
> Andreas Metzler via Exim-users wrote on 12.03.2023 08:55:
>> On 2023-03-11 Victor Ustugov via Exim-users <exim-users@???> wrote:
>> [...]
>>>   client_send = ${lookup{$host<@>$sender_address<@>oauth2}\
>>>    lsearch*{CONFDIR/smtpauthdb}{${expand:$value}}fail}
>> [...]

>>
>> Hello,
>>
>> <Quote>
>> | |client_send|Use: plaintext|Type: string*|Default: unset|
>> | +-------------------------------------------------------+
>> |
>> | The string is a colon-separated list of authentication data strings. Each
>> | string is independently expanded before being sent to the server.
>> </Unquote>
>>
>> See Chapter 6 - The Exim runtime configuration file "20. List
>> construction" and "21. Changing list separators" for ways to fix your
>> configuration.



I reacted to the quoted text from the doc and did not pay attention to
the advice to change the list separator.

In any case, OAuth2 authentication is already working.

Thank you.


> So is it enough to replace
>
> client_send =
> ${lookup{$host<@>$sender_address<@>oauth2}lsearch*{CONFDIR/smtpauthdb}{${expand:$value}}fail}
>
> with
>
> client_send =
> "${lookup{$host<@>$sender_address<@>oauth2}lsearch*{CONFDIR/smtpauthdb}{${expand:$value}}fail}"
>
> ?
>
>
>> cu Andreas
>>
>
>



--
Best wishes Victor Ustugov
mailto:victor@corvax.kiev.ua
public GnuPG/PGP key: https://victor.corvax.kiev.ua/corvax.asc