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? -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/