[SURBL-Discuss] Error with the new Spamcop URI rule file

David Coulson david at davidcoulson.net
Thu Apr 22 21:54:58 CEST 2004


Doc Schneider wrote:
> But I just saw it happen again, so that might not have been what had 
> done it.

I've been seeing this all day:

Apr 22 20:51:02 flair spamd[15992]: Failed to run WS_URI_RBL 
SpamAssassin test, skipping: ^I(Modification of non-creatable array 
value attempted, subscript -1 at 
/usr/share/perl5/Mail/SpamAssassin/SpamCopURI.pm line 117. )
Apr 22 20:51:02 flair spamd[15992]: Failed to run BE_URI_RBL 
SpamAssassin test, skipping: ^I(Modification of non-creatable array 
value attempted, subscript -1 at 
/usr/share/perl5/Mail/SpamAssassin/SpamCopURI.pm line 117. )
Apr 22 20:51:02 flair spamd[15992]: Failed to run SC_URI_RBL 
SpamAssassin test, skipping: ^I(Modification of non-creatable array 
value attempted, subscript -1 at 
/usr/share/perl5/Mail/SpamAssassin/SpamCopURI.pm line 117. )




   if (defined $url{host}) {
     # strip any non alpha characters off of the end
     # this is to fix a bug where url parsing in core SA
     # leaves parens and other junk on the URL that URI
     # parses to the host
     my @p = split(/\./, $url{host});
     $p[-1] =~ s/[^a-z].+$//i;
->>>    $url{host} = join ('.', @p);
   }

David

-- 
David Coulson                                    email: d at vidcoulson.com
Linux Developer /                          web: http://davidcoulson.net/
Network Engineer                                   phone: (216) 533-6967



More information about the Discuss mailing list