SpamAssassin integration missing Received: headers

"Carlos Perez" <[email protected]> Mon, 14 Jun 2004 10:55:46 -0600
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
I running Mail::Box version 2.055.  When I call SpamAssassin with a
'wrapped' message it executes but does not analyze the Received: headers, so
it misses some important tests, such as DATE_IN_FUTURE_ and RBL tests.

Bug or setup problem?

Snippet:

 open(MSG, "<spammsg.eml") || die "Unable to open file: $!\n";
 my $newmsg = Mail::Message->read(\*MSG);

 my $sa = Mail::Message::Wrapper::SpamAssassin->new($newmsg);
 my $spam = Mail::SpamAssassin->new;
 my $status = $spam->check($sa);

Thank you.