On Wed, Jun 25, 2008 at 06:26:54PM -0700, metamorph said:
> 
> > I googled [EMAIL PROTECTED] and tried the following:
> > 
> > 1.) ln -s etc/spamassasson/clamav.pm
> > /usr/share/perl5/Debconf/ConfModule.pm
> 
> >Ouch.
> 
> I take it I screwed up pretty bad?  Could you explain (is it the missing
> leading /) and is there a way to correct this?

/usr/share/perl5/Debconf/ConfModule.pm is a perl module for debconf,
the Debian configuration system.  It's not clear to me why you picked on
that particular module, but that won't work, even if it was a good idea.
perl looks for a module based on it's name, so when you say 'use clamav'
it looks around the file system in it's search path (@INC) for a file
named clamav.pm and attempts to load it.

> > 2.)  copying the files into /usr/share/perl5 folder and setting the
> > permissions
> > 3.) none of the perl commands worked from the terminal or CPAN command
> > line-- I am showing my ignorance but this is where I am.
> > 
> > All the above failed to start clamav and I still get the error below:
> > [6290] dbg: config: fixed relative path: /etc/spamassassin/clamav.pm
> > [6290] dbg: plugin: loading ClamAV from /etc/spamassassin/clamav.pm
> > [6290] warn: plugin: failed to parse plugin /etc/spamassassin/clamav.pm:
> 
> >I think the @INC thing might be a red herring.  Assuming you actually
> >have an /etc/spamassassin/clamav.pm (note the leading /), it is failing
> >to parse.  There are literally dozens of reasons for why this could be,
> >so I'm just going to ask a different question: why are you calling the
> >faster malware detecter from the slower spam detecter?  I call clamav
> >directly, before things go to spamassassin precisely to reduce the load
> >on my mail servers.
> 
> It was suggested on the citadel.org manual as the most common method of
> installing antivirus for use with citadel.  Your suggestion seems better
> than any other I have been given so far.  Could you explain how to pipe
> emails through clamav before spamassassin gets it?

I have no idea how citadel works, sorry.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | A door is what a dog is perpetually on  |
|  [EMAIL PROTECTED]             | the wrong side of.   -- Ogden Nash      |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to