Re: [exim] Custom log-element?

Góra strony
Delete this message
Reply to this message
Autor: Bjørnar Ness
Data:  
Dla: Jasen Betts
CC: exim-users
Temat: Re: [exim] Custom log-element?
2015-10-21 6:49 GMT+02:00 Jasen Betts <jasen@???>:
> 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.


Yeah, I ofcorse could, but is there really no trick here?

--
Bj(/)rnar