This is beautiful!
It is exactly what I was looking for.
I not only downloaded it but also ran it and it works
great. Thanks a bunch!
Only one of the messages had an error:
razor2 report failed: Bad file descriptor Died at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Reporter.pm
line 120, <GEN1> line 1.
But I'll figure it out later.
All I need to figure out now is how to make this bad
boy fire up on its own as a cron job but only when
there are say 20 spams in that folder. Maybe I'll set
it to run weekly or something.
Also, delete the messages upon successful reporting.
Again, Thanks A bunch!
Winston
--- Kurt Yoder <kylistsatalk@shcorp.com> wrote:
> Hello list
>
> I made a simple script to report all messages in a
> maildir directory using
> "spamassassin -r". Perhaps it will be useful for
> someone reading... here it
> is:
>
>
> --
> Kurt Yoder
> Sport & Health network administrator
>
> ATTACHMENT part 2 application/x-perl
name=report_spam.pl
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html