You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Cameron Bales <cb...@gmail.com> on 2004/12/21 21:09:24 UTC

Problem with ClamAV plugin.

Hi.

I'm running CGPSA 1.4f4 under Communigate 4.2.7 and SpamAssassin 3.0.1.

I've installed ClamAV 0.8 and the SpamAssassin ClamAV plugin as described here:
http://wiki.apache.org/spamassassin/ClamAVPlugin

I get the following error in my mail headers:
X-Spam-Virus: Error (Cannot connect to 'localhost:3310':
IO::Socket::INET:  connect: Invalid argument)

I know SpamAssassin is working fine, Clamscan works for files.  My
testing server is behind a firewall and has no firewall of its own so
port 3310 is open.

Any suggestions would be appreciated!

Cameron .:.
-- 
Cameron Bales .:.
www.bales.ca  cbales@gmail.com cameron@bales.ca

Re: Problem with ClamAV plugin.

Posted by Matt Kettler <mk...@evi-inc.com>.
At 03:09 PM 12/21/2004, Cameron Bales wrote:
>I'm running CGPSA 1.4f4 under Communigate 4.2.7 and SpamAssassin 3.0.1.
>
>I've installed ClamAV 0.8 and the SpamAssassin ClamAV plugin as described 
>here:
>http://wiki.apache.org/spamassassin/ClamAVPlugin
>
>I get the following error in my mail headers:
>X-Spam-Virus: Error (Cannot connect to 'localhost:3310':
>IO::Socket::INET:  connect: Invalid argument)
>
>I know SpamAssassin is working fine, Clamscan works for files.  My
>testing server is behind a firewall and has no firewall of its own so
>port 3310 is open.

Did you start clamd? Have you modified clamd.conf to uncomment the 
"TCPSocket 3310" line?

It appears this module uses clamd to do it's work, and does so with a 
non-default setting for clamd, but nobody documented that in the wiki...