Daily spam report

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Daily spam report

michelinux (Bugzilla)
I made this two scripts to generate daily reports for my users.

The first script collects data from logs to temporary tables in a
MySQL database, the second one sends report to postmaster@domain with
information about all blocked messages.

If you have more then one ASSP istance (like me) run the first script
on every server, then run the second one on just one server.

You need DBI and Mail::Sendmail to run them.

You also need to set myhost, mydb, myuser, mypassword in assp.cfg.

I don't use all of ASSP features so log analisys is not complete I suppose.
Please, help me complete it if you can.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-devel

generate_report1.pl (6K) Download Attachment
generate_report2.pl (5K) Download Attachment