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

Pàgina inicial
Delete this message
Reply to this message
Autor: Dan Liles
Data:  
A: exim-users
Assumpte: Re: [exim] getting a report by domain / ip address
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/