Autor: Jeremy Harris Data: Dla: exim-users Temat: Re: [exim] Determining smarthoust address from message
On 12/11/2019 13:02, Richard Evans via Exim-users wrote: > server_set_id = $auth1
>
> and then referring to $authenticated_id in the route_data expression.
> But debug shows that $authenticated_id expands to empty in the
> route_data setup, which I guess make sense since the authentication
> information is not preserved with the spooled message.
I see this code in spool_out.c :-
if (authenticated_id)
spool_var_write(fp, US"auth_id", authenticated_id);
... so at least part of the path you were trying is there.
Could you peek at a spool file to check?