X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/blobdiff_plain/e90159689acef685dd341342f4697774a51c6a64..9a99b2d2a847c5d77f48ce8b731fb103c608825a:/auth.m4 diff --git a/auth.m4 b/auth.m4 index 04e1a07..817bfd6 100644 --- a/auth.m4 +++ b/auth.m4 @@ -105,5 +105,13 @@ mailauth: ## Otherwise we can't tell who really sent it. deny message = Authenticated user not authoritative for claimed sender. +SECTION(acl, data-hooks)m4_dnl + ## Report the `AUTH=' value, if we have one. This is delayed from + ## the above so that Exim can figure out a queue id. Once it's done + ## so, apparently it reports that automatically, so we don't need to + ## mention `$message_exim_id' explicitly here. + warn condition = ${if def:acl_m_user} + logwrite = AUTH=${quote:$acl_m_user} + DIVERT(null) ###----- That's all, folks --------------------------------------------------