-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I've got amavisd setup with postfix for spam/virus filtering. However
I'm noticing in my logs an error:

Dec 15 14:20:27 [amavis] (28224-17) ClamAV-clamd: Can't send to socket
/var/amavis/clamd: Transport endpoint is not connected, retrying (1)

Now I've checked with ps, and clamd is defiantly running. It is
configured to put it's socket in /var/amavis/clamd and I can see it
there. I can start/stop clamd and the socket will appear and disappear.
Amavis is configured with exactly the same path, but obviously can't
seem to connect to clamd. All email still gets passed through the system
however.

Anyone have any ideas what could be causing this?

The relevant section from /etc/amavisd.conf:

# ### http://www.clamav.net/
['ClamAV-clamd',
  \&ask_daemon, ["CONTSCAN {}\n", "/var/amavis/clamd"],
  qr/\bOK$/, qr/\bFOUND$/,
  qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

If you would like to see more of my config files, let me know.

Thanks Shawn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFgh19Qv6DFiTKHhkRAnwiAJ9oXMHqojJCdp8BqooqhzOxL10NKgCggAtj
rDzI9gNrmkkTACuacB6lawc=
=NMQ1
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list

Reply via email to