reports per domain for email traffic (postfix)
Joost van Baal
joostvb at logreport.org
Wed Jan 4 22:13:18 CET 2006
Hi Timo,
Op wo 4 jan 2006 om 05:27:15 +0100 schreef Timo Schoeler:
>
> i'm a bit puzzled after trying half a dozen log analyzing tools; ending
> up with lire, which impresses me much,
That's nice to hear; thanks!
> i still have a problem:
>
> i need email traffic accounting for my email server /by domain/, that
> is a summed up number for all mails from domain-a.tld and to
> domain-a.tld.
>
> AFAICS the standard report gives me a
>
> Largest Volume Sent To Domain
>
> as well as a
>
> Largest Volume Received From Domain
>
> which might be the right direction.
>
> any hints greatly appreciated! :)
I believe the right way to start would be to take a look at
filters/email/select-client-ip.xml . If you're using the Lire Debian
package, this file is installed as
/usr/share/lire/filters/email/select-client-ip.xml . This file could
inspire you to write your own filters/email/select-from-domain.xml and
filters/email/select-to-domain.xml. (I'd be interested in such filters
too, btw :) Once you have these filters defined, you can hook them in
your report specification. Such a specification looks like e.g. the one
in /usr/share/lire/templates/email_default.xml .
Some of these tasks can be accomplished using the lire(1) tool, likely.
Let us know if you have any further questions!
Bye,
Joost
--
. . http://logreport.com/
| '.| /^LogReport$/
| Lire http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.logreport.org/pipermail/questions/attachments/20060104/ad86455f/attachment.bin
More information about the Questions
mailing list