[Gllug] Amavis-new + SA + spamcopuri...?

Kristian Davies kristian at ELIXIR-STUDIOS.CO.UK
Fri Aug 20 14:07:49 UTC 2004


Here's the problem, if i run...

spamassassin -V  #it gives 2.64

spamassassin -tD <test2  #The test2 file contains a test for SpamCopURI

This works.!

However... i run SA through amavis and amavis doesnt pick up SpamCopURI,
so...

If i run...

su amavis -c 'spamassassin -tD <test1'

i get...

configuration file "/usr/share/spamassassin/20_body_tests.cf" requires
version 2.64 of SpamAssassin, but this is code version 2.63. Maybe you need
to use
the -C switch, or remove the old config files? Skipping this file at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Conf.pm line 362.

The problem as i see it...

find / -name SpamCopURI.pm 

gets....

/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/SpamCopURI.pm
/usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/SpamCopURI.pm
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/SpamCopURI.pm

Amavis seems to use /usr/lib/perl5/vendor_perl/5.8.3/ whereas everything
else uses /usr/lib/perl5/site_perl/5.8.3 

perl -V

CONTEXT
  Built under linux
  Compiled at Feb  3 2004 13:50:20
  @INC:
    /usr/lib/perl5/5.8.3/i386-linux-thread-multi
    /usr/lib/perl5/5.8.3
    /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.3
    /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.3
    /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl
    .



How can @INC be edited? and would it be stupid to just rip out
vendor_perl...?

Any ideas would be gratefully received.

Cheers,
Kristian




---------------------------------------------------------------------------
The information transmitted is intended only for the
person or entity to which it is addressed and may
contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other
use of, or taking of any action in reliance upon, this
information by persons or entities other than the
intended recipient is prohibited.  If you received this
in error, please contact the sender and delete the
material from any computer.
---------------------------------------------------------------------------

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list