[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: calculation of mail traffic



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well.. I can also grep "From:" to see wich addresses are sending more mails 
than usual, don't I?

Anyway I think some mail stats would give me this information and some more 
interesting information... 

El Lunes, 17 de Marzo de 2003 13:40, escribió:
> Hi There,
>
> On Mon, 2003-03-17 at 10:30, Tomàs Núñez Lirola wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I also looked for mail stats recently. I've not used any, but I found
> > some software for mail stats.
> >
> > http://www.reedmedia.net/software/sendmail_stats/ (building)
> > http://www.sawmill.net/formats/UNIX_Sendmail.html
>
> additionally Ollie cook's eximstate might be
> useful..http://www.olliecook.net/projects/eximstate/
> it takes the stats of an exim server, and draws graphs
> of the mail from the server, enabling one to easily see
> if there are frozen mails or bounce mails in the queue
> or whatever.
>
> > I'm very insterested in some way to check if any of the users is doing
> > spam, and I thought some mail stats would help. How do you watch if your
> > users spam?
>
> interesting question..
>
> in an ideal world, you'd have every one who you let relay through your
> server authenticate against it, and then you could come up with some
> stats on how many mails each user has sent.
> (for i in `cat <passwdfile>` ; do grep -c $i <mail-log> ; done)
> or similar. If any user's sent an abnormally large amount of mails, they
> could then be loked into.
>
> without this, I guess the best way of figuring is to do it on a per ip
> which you relay for.
>
> if its local users on the system, then my first suggestion might still
> help, and rmuser anyone who sends spam :)
>
> thanks
>
> Andy
>
> > El Lunes, 17 de Marzo de 2003 09:47, Markus Welsch escribió:
> > > Hi all,
> > >
> > > I'd like to calculate mail traffic on a per domain base. Calculation
> > > should include mail sent and mail received. I've been thinking of using
> > > the message id as some sort of "key" for everything since it's supposed
> > > to be unique, right ?
> > >
> > > I've been searching for a ready made solution and haven't come accross
> > > something, so I started working on a solution.
> > >
> > >
> > > My current ideas:
> > > - calculate traffic for each day (via cronjob) with traffic in/out per
> > > domain - domains which this calculation should be done for are listed
> > > in accounting_domains
> > >
> > > I've built a small example program (attached as example.pl) an example
> > > log file is also attached.
> > >
> > >
> > > My knowledge of Perl is not quite well so I'm looking for help to
> > > archive the goal of doing this calculation. Anybody out there for help
> > > ? :-)
> > >
> > >
> > >
> > > Kind Regards,
> > >
> > > Markus Welsch
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.1 (GNU/Linux)
> >
> > iD8DBQE+daPXGOU6HQZ81TcRAlosAJ96QyhG9sX87J9IZGcqNnpAvLkkqgCeNaBI
> > xaPO1Gt56xeEo7WjLlfMMWE=
> > =02nl
> > -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+dcaHGOU6HQZ81TcRAgBLAJ4gbJEFBlHQ6H5s5kkqZb6O62OCnQCeP7CV
KSNKfNr0ihDgOa3EhoV9i9k=
=987m
-----END PGP SIGNATURE-----



Reply to: