On Mon, 10 Jun 2013, Alex wrote:

Hi Kris,

I'm trying to get your extract-data script running, and having some
difficulties. It's dying at the $spamtest->check($mail) call. It just
never returns. What does that function do?

MSG: for (my $i=0; $i<$msgcount; $i++) {
 my $msg = $imap->message_string($msgs[$i]);

 print ".";

 my $mail = $spamtest->parse($msg);
 my $status = $spamtest->check($mail);

My perl scripting abilities are somewhat limited, so I hoped you could
help me troubleshoot this. I can print out $mail and it contains the
full contents of the current message (there's only one in my imap mbox
test file).

Ideas greatly appreciated.
Thanks,
Alex

Alex, you do understand that script assumes you've got a full & properly
configured installation of SA available on the machine you're running it on.

--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to