clamav-users June 2008 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: Re: [Clamav-users] ClamAV Plugin for Spamassassin

Re: [Clamav-users] ClamAV Plugin for Spamassassin

From: metamorph <brown2235a_at_nospam>
Date: Thu Jun 26 2008 - 01:26:54 GMT
To: clamav-users@lists.clamav.net

> I googled perl@INC 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?

> 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 really appreciate your help and guidance. -- -------------------------------------------------------------------------- | Stephen Gran | Small is beautiful. -- Schumacher's | | steve@lobefin.net | Dictum | | http://www.lobefin.net/~steve | | -------------------------------------------------------------------------- _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml -- View this message in context: http://www.nabble.com/ClamAV-Plugin-for-Spamassassin-tp18113891p18124967.html Sent from the clamav-users mailing list archive at Nabble.com. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml