On Wednesday 06 August 2003 01:16 pm, Justin Mason wrote:
> Beirne Konarski writes:
> > When running the mass-check I got the errors listed below.  Should I make
> > sure I get a clean run before submitting the results?
> >
> > Beirne
> >
> > razor2 check skipped: No route to host IO::Socket::INET: connect: No
> > route to host      ...propagated at
> > /home/beirne/Mail-SpamAssassin-2.60/masses/../lib/Mail/SpamAssassin/Dns.p
> >m line 410.
>
> There's a problem with your Razor 2 support -- I would suggest
> investigating that with the Razor tools ("razor-client" etc.), then
> "spamassassin" first and fixing it before running mass-check.  You may
> need to register with Razor.

I upgraded to the current Razor and required modules and the Razor errors went 
away.  There was a lingering error, though, from the use of an undefined 
variable.  It turns out that the returns for overly big messages were the 
undefined value.  The patch below returns empty strings instead.

Beirne

diff -Naur 
Mail-SpamAssassin-2.60.orig/lib/Mail/SpamAssassin/ArchiveIterator.pm 
Mail-SpamAssassin-2.60/lib/Mail/SpamAssassin/ArchiveIterator.pm
--- Mail-SpamAssassin-2.60.orig/lib/Mail/SpamAssassin/ArchiveIterator.pm        
2003-07-15 21:19:08.000000000 -0400
+++ Mail-SpamAssassin-2.60/lib/Mail/SpamAssassin/ArchiveIterator.pm     
2003-08-07 20:06:05.000000000 -0400
@@ -545,7 +545,7 @@
   # skip too-big mails
   if (! $self->{opt_all} && -s INPUT > BIG_BYTES) {
     close INPUT;
-    return;
+    return '';
   }
   my @msg = (<INPUT>);
   close INPUT;
@@ -571,7 +571,7 @@
     # skip too-big mails
     if (! $self->{opt_all} && @msg > BIG_LINES) {
       close INPUT;
-      return;
+      return '';
     }
     push (@msg, $_);
   }

>
> --j.
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

-- 
Beirne "Bern" Konarski  
[EMAIL PROTECTED]       "Untouched by Scandal"


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to