On Fri, 12 Dec 2003 10:40:07 -0000 (GMT), JohnT <[EMAIL PROTECTED]> posted to spamassassin-talk: > i'd like to have a report sent to me with a breakdown of SA's activity, > either daily or weekly or whatever. > ideally, for it to list Sender, Recipient, Subject and Spam Score for all > mails that have been marked as Spam. > was thinking of writing a shell script to parse the maillog file, but it > would be a bit beyond my ability due to the lofile format. another thought > was to get procmail to output to a text file, but again, i dont know > enough about procmail to make it do what i want.
I don't think Procmail is the answer to any meaningful question here. There are various tools out there which are capable of summarizing various types of log files. If you can just tell it what to look for, it can create a summary for you. Then you'd run this out of a cron job or whatever to periodically summarize recent activity. I'm not familiar with enough of these tools to give an informed recommendation but Analog seems to get a lot of press. See also <http://dmoz.org/Computers/Software/Internet/Site_Management/Log_Analysis/> Hope this helps, /* era */ -- The email address era the contact information Just for kicks, imagine at iki dot fi is heavily link on my home page at what it's like to get spam filtered. If you <http://www.iki.fi/era/> 500 pieces of spam for want to reach me, see instead. each wanted message. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk