https://bugs.exim.org/show_bug.cgi?id=2648
--- Comment #12 from Jeremy Harris <jgh146exb@???> ---
Bingo. The expansion routine was assuming that sender_host_authenticated
can be used as a flag for "auth was done" and that sender_host_auth_pubname
will always have been set. Which is fine in ACL because they are indeed set
in the same place. But the spoolfile doesn't carry sender_host_auth_pubname
currently (which is our bug), so doing the expansion in a router that has
read a spoolfile hits a null (and blindly indirects through it).
My test probably used a foreground-deliver, so the spooling never got in the
way.
I don't think there's a workaround, apart from only using this expansion in
acl.
I should be able to work up a patch fairly fast, if you can build from source.
--
You are receiving this mail because:
You are on the CC list for the bug.