Re: [exim] expansion error in OAuth2 client authenticator

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Victor Ustugov
Fecha:  
A: Andreas Metzler via Exim-users
Asunto: 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.


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