Steve Dimoff wrote:
>> I patched our spamassassin 2.63 (on Fedora Core 1) to include
>> SpamCopURI and even though it was working, lint was failing.
> 
>> In the end I tracked it down to spamassassin stuff being in the
>> vendor_perl directory relating to an older release of perl.  Copying
>> the appropriate .pm files from SpamCopUri to the appropriate
>> Mail/Spamassassin directory in the
>> /usr/lib/perl5 tree solved that problem.
> 
> Tried that, or well I think I did anyways.  I did what it said in the
> INSTALL: 
> 
> Painful Install
> =============
> If you don't see the rules being hit, then you most likely
> have some issue with @INC.  Do a search for PerMsgStatus.pm,
> Conf.pm and SpamCopURI.pm.
> 
> You need to copy PerMsgStatus.pm and Conf.pm over the files
> that SpamAssassin originally installed.
> You can find this out by typing:
> 
> perl -MMail::SpamAssassin::PerMsgStatus -e 'print
> $INC{"Mail/SpamAssassin/PerMsgStatus.pm"},"\n"'
> 
> which will print out something like:
> 
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm
> 
> In this case you just need to copy from this package
>   lib/Mail/SpamAssassin/PerMsgStatus.pm
>   lib/Mail/SpamAssassin/Conf.pm
>   lib/Mail/SpamAssassin/SpamCopURI.pm
> 
>   to /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin
> 
> After placing the rules in a proper place, you should be all set.
> 
> ==================
> 
> Is that the same thing you are talking about?
> 
> Steve


If you do a "locate SpamAssassin | grep perl5" you'll get the picture
:-)

Phil

----
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK

Reply via email to