[SURBL-Discuss] Trouble installing SpamCopURI

Jeff Chan jeffc at surbl.org
Thu Apr 22 08:06:56 CEST 2004


On Thursday, April 22, 2004, 7:03:06 AM, Bo Stark wrote:
> I get "Can't locate Mail/SpamAssassin.pm in @INC" error msg then I run perl 
> Makefile.PL.

> Do I need root access? Because I don't have that. Also Im not 
> running  SpamAssassin as spamd. Is it possible to install anyway?

Hi Bo,
Hopefully an excerpt from the Install doc may help:

> 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.

Not sure about a non-root install though.  Perhaps someone else
can comment.

Jeff C.



More information about the Discuss mailing list