1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi |
5 |
|
6 |
I've got amavisd setup with postfix for spam/virus filtering. However |
7 |
I'm noticing in my logs an error: |
8 |
|
9 |
Dec 15 14:20:27 [amavis] (28224-17) ClamAV-clamd: Can't send to socket |
10 |
/var/amavis/clamd: Transport endpoint is not connected, retrying (1) |
11 |
|
12 |
Now I've checked with ps, and clamd is defiantly running. It is |
13 |
configured to put it's socket in /var/amavis/clamd and I can see it |
14 |
there. I can start/stop clamd and the socket will appear and disappear. |
15 |
Amavis is configured with exactly the same path, but obviously can't |
16 |
seem to connect to clamd. All email still gets passed through the system |
17 |
however. |
18 |
|
19 |
Anyone have any ideas what could be causing this? |
20 |
|
21 |
The relevant section from /etc/amavisd.conf: |
22 |
|
23 |
# ### http://www.clamav.net/ |
24 |
['ClamAV-clamd', |
25 |
\&ask_daemon, ["CONTSCAN {}\n", "/var/amavis/clamd"], |
26 |
qr/\bOK$/, qr/\bFOUND$/, |
27 |
qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], |
28 |
|
29 |
If you would like to see more of my config files, let me know. |
30 |
|
31 |
Thanks Shawn |
32 |
-----BEGIN PGP SIGNATURE----- |
33 |
Version: GnuPG v1.4.2 (MingW32) |
34 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
35 |
|
36 |
iD8DBQFFgh19Qv6DFiTKHhkRAnwiAJ9oXMHqojJCdp8BqooqhzOxL10NKgCggAtj |
37 |
rDzI9gNrmkkTACuacB6lawc= |
38 |
=NMQ1 |
39 |
-----END PGP SIGNATURE----- |
40 |
-- |
41 |
gentoo-user@g.o mailing list |