Re: [exim] getting a report by domain / ip address

Top Pagina
Delete this message
Reply to this message
Auteur: Jasen Betts
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] getting a report by domain / ip address

sure, exipick seems to allow all the variables mentioned in the exim
spec, chapter 11, section 9 that describe the message and don't
have a constrained scope.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpvar

including h_... headers variable, and acl... exim ACL variables


(so, assuming that you want both auth id and canpaign id and that the header is X-Campaign-Id )

exipick --show-vars=authenticated_id,h_x-campaign-id


You add more using commas.


On 2017-02-07, Dan Liles via Exim-users <exim-users@???> wrote:
> Hello Jasen,
>
> This is great, I'm a bit of a perl programmer so I might be able to pull it
> off.
>
> Can I pull header values? For example we include a campaign id and customer
> id - so if I could isolate those as well it could be valuable in flagging
> content that's being poorly received and potentially disabling it until we
> can talk with them to fix what's going on.
>
> So can we pull header values with exipick as well?
>
> I'll let you guys know how it turns out.
>
> Thanks again!
>
> Dan
>
> -----Original Message-----
> From: Exim-users [mailto:exim-users-bounces+danliles72=gmail.com@exim.org]
> On Behalf Of Jasen Betts
> Sent: Monday, February 6, 2017 8:39 PM
> To: exim-users@???
> Subject: Re: [exim] getting a report by domain / ip address
>
> On 2017-02-06, Dan Liles via Exim-users <exim-users@???> wrote:
>> Hello Jason,
>>
>> Yes sorry those were made up ;).
>>
>> Ok, well what about by the authentication id?
>>
>> Could I group them by that? ( We determine the interface / ip by the
>> authentication id using lsearch. )
>
> authenticated_id is a property of the received email, so in theory yes.
>
> You can get the raw data by
>
> exipick --show-vars=authenticated_id
>
> You'll then need to count the results and produce the summary.
>
> exipick output is similar to exim -bp output (except that it uses spaces
> instead of tabs), and it appears than exiqsumm is already compatible with
> this format, so if you are, or can find, a perl programmer.
> extending exiqsumm to do what you want should be possible.
>
> --
> This email has not been checked by half-arsed antivirus software
>
> --
> ## 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/
>
>



--
This email has not been checked by half-arsed antivirus software