Hi all,
I'm hoping that someone can whack me with a clue-stick here. I'm running into problems getting SURBL up and running.
System: RedHat 9 SA 2.63 Amavisd-new SpamCopURI 0.14
I downloaded and ran through the install of the SpamCopURI 0.14 package, put my rules in place, and restarted my services.
Here is the error that I receive, each time a messae passes through the system: Failed to run SPAMCOP_URI_RBL SpamAssassin test, skipping: (Can't locate URI/_foreign.pm in @INC (@INC contains: lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.8.0/URI.pm line 56. )
1. I re-copied the three .pm files from the source, like the install docs advised. 2. The _foreign.pm file does exist at /usr/lib/perl5/site_perl/5.8.0/uri/_foreign.pm 3. CPAN claims that URI is up to date 4. A quick google search and search of the SURBL archives don't seem to offer much info on this error
I'm sure that I'm missing something silly, so any pointers would be great.
Thanks, Matt
What version of URI do you have? I may need to bump the version requirement up.
You can find this out with:
perl -MURI -e 'print $URI::VERSION,"\n"'
--eric
On Fri, Apr 30, 2004 at 10:11:33AM -0500, Matt Yackley wrote:
Hi all,
I'm hoping that someone can whack me with a clue-stick here. I'm running into problems getting SURBL up and running.
System: RedHat 9 SA 2.63 Amavisd-new SpamCopURI 0.14
I downloaded and ran through the install of the SpamCopURI 0.14 package, put my rules in place, and restarted my services.
Here is the error that I receive, each time a messae passes through the system: Failed to run SPAMCOP_URI_RBL SpamAssassin test, skipping: (Can't locate URI/_foreign.pm in @INC (@INC contains: lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.8.0/URI.pm line 56. )
- I re-copied the three .pm files from the source, like the install docs
advised. 2. The _foreign.pm file does exist at /usr/lib/perl5/site_perl/5.8.0/uri/_foreign.pm 3. CPAN claims that URI is up to date 4. A quick google search and search of the SURBL archives don't seem to offer much info on this error
I'm sure that I'm missing something silly, so any pointers would be great.
Thanks, Matt
Discuss mailing list Discuss@lists.surbl.org http://lists.surbl.org/mailman/listinfo/discuss
Eric Kolve said:
What version of URI do you have? I may need to bump the version requirement up.
You can find this out with:
perl -MURI -e 'print $URI::VERSION,"\n"'
--eric
On Fri, Apr 30, 2004 at 10:11:33AM -0500, Matt Yackley wrote:
Hi all,
I'm hoping that someone can whack me with a clue-stick here. I'm running into problems getting SURBL up and running.
System: RedHat 9 SA 2.63 Amavisd-new SpamCopURI 0.14
snip
Hi Eric, Looks like my URI is version 1.30
-matt
Run the following test:
#!/usr/bin/perl -w
use strict; use URI;
my $u = URI->new('blah://bar.com');
print ref($u),"\n";
If everything works, then you will see:
URI::_foreign
If this breaks, then I think you have an @INC issue.
--eric
On Fri, Apr 30, 2004 at 11:41:23AM -0500, Matt Yackley wrote:
Eric Kolve said:
What version of URI do you have? I may need to bump the version requirement up.
You can find this out with:
perl -MURI -e 'print $URI::VERSION,"\n"'
--eric
On Fri, Apr 30, 2004 at 10:11:33AM -0500, Matt Yackley wrote:
Hi all,
I'm hoping that someone can whack me with a clue-stick here. I'm running into problems getting SURBL up and running.
System: RedHat 9 SA 2.63 Amavisd-new SpamCopURI 0.14
snip
Hi Eric, Looks like my URI is version 1.30
-matt
Eric Kolve said:
Run the following test:
#!/usr/bin/perl -w
use strict; use URI;
my $u = URI->new('blah://bar.com');
print ref($u),"\n";
If everything works, then you will see:
URI::_foreign
If this breaks, then I think you have an @INC issue.
--eric
On Fri, Apr 30, 2004 at 11:41:23AM -0500, Matt Yackley wrote:
Eric Kolve said:
What version of URI do you have? I may need to bump the version requirement up.
You can find this out with:
perl -MURI -e 'print $URI::VERSION,"\n"'
--eric
On Fri, Apr 30, 2004 at 10:11:33AM -0500, Matt Yackley wrote:
Hi all,
I'm hoping that someone can whack me with a clue-stick here. I'm running into problems getting SURBL up and running.
System: RedHat 9 SA 2.63 Amavisd-new SpamCopURI 0.14
snip
Hi Eric, Looks like my URI is version 1.30
-matt
Hi Eric, I was able to get the SURBL tests working! :)
I ran the test and it did report back with "URI::_foreign", so since that was working I went back and started looking for other reasons why I was getting the errors. I ran some tests with "spamassassin -D rulesrun=255 -t < test.txt" and saw that when running like this the SURBL tests were working.
The problem was that I'm running amavisd chroot'ed and it was not finding the URI modules. I added the following directory structure to my amavisd-new chroot tree: "/var/amavis/usr/lib/perl5/site_perl/5.8.0/URI" and then copied all the contents of /usr/lib/perl5/site_perl/5.8.0/URI" over to it. After copying those files over and restarting amavis, everything is now working fine.
Thanks for your help, matt