On 2015-10-20, Bjørnar Ness <bjornar.ness@???> wrote: > Is it possible to have exim include a MACRO or other expansion in every logline
> it writes? The reason I want this is a have setup where exim acts as
> mx/submission for multiple brands based on incoming ip address (proxy
> protocol). I would like
> to log both BRAND and SERVERTYPE
>
> Is this currently possible?
No. but you can write extra log lines in any format you want from an ACL.
I do custom logging from the DATA ACL and the (experimental) event ACL
but instead of using logwrite (which I could do), I log directly into
a postgresql database.