# Sa-daily-report

**URL:** <https://www.ruby-forum.com/t/sa-daily-report/55863>\
**Category:** Ruby\
**Created:** [March 24, 2006, 10:54am UTC](https://www.ruby-forum.com/t/sa-daily-report/55863 "2006-03-24T10:54:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Kemp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d78d45/32.png) [@Tony\_Kemp](https://www.ruby-forum.com/u/Tony_Kemp)\
**Post date:** [March 24, 2006, 10:54am UTC](https://www.ruby-forum.com/t/sa-daily-report/55863/1 "2006-03-24T10:54:05Z")

</div>

Hi all,

Thought I would announce the release of a small ruby script that that I  
originally developed at a previous job and have since improved upon.

This script is designed to be run as a daily cron job on a server that  
is running SpamAssassin to filter email. It scans the quarantine  
directory for all email that SpamAssassin quarantined the previous day  
as spam. From these it generates a simple report which is then sent to  
the designated email adminisitrator to double-check that these emails  
have been correctly classified. The report consists of an entry for  
each quarantined email showing the subject, from and to fields, plus  
the SpamAssassin status field and the path to the mail.

This is release 1.0 - any furthur improvements and suggestions greatly  
appreciated.

This is available at [http://www.agrav.net/software/](http://www.agrav.net/software/)

Cheers,  
Tony.

---

<div class="post-metadata">

**Author:** ![Tony\_Kemp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d78d45/32.png) [@Tony\_Kemp](https://www.ruby-forum.com/u/Tony_Kemp)\
**Post date:** [March 25, 2006, 4:24am UTC](https://www.ruby-forum.com/t/sa-daily-report/55863/2 "2006-03-25T04:24:07Z")

</div>

Hi all,

Thanks to a bug fix sent in by Kurt Hindenburg, I’ve now released  
version 1.0.1 of sa-daily-report.rb at [http://www.agrav.net/software](http://www.agrav.net/software)

Regards,  
Tony.
