Nigel Horne wrote:


Are you running clamd with INET or UNIX domain sockets? If the former try telneting to clamd and see if it talks.



If he's using FreeBSD, he can also telnet to a Unix socket with 'telnet -u /path/to/socket':

-----------------
cgreen:VMail1:/home/cgreen# telnet -u /var/run/clamav/clamd
Trying /var/run/clamav/clamd...
No connection.
Escape character is '^]'.
PING
PONG
Connection closed by foreign host.
cgreen:VMail1:/home/cgreen#
-----------------

However, it's probably easier to just try using clamdscan to pass files to clamd for scanning and see if it works. ;-)

If clamdscan works, as a suggestion for an alternate setup he could try using MIMEDefang (www.mimedefang.org). It's a milter that supports clamd by calling clamdscan, and integrates Spamassassin checking/tagging. If you know Perl, it also lets you mangle--err, filter--email with custom Perl filters, too. It's available in ports (/usr/ports/mail/mimedefang).

Note that I've only used it on 4.x servers. I don't see why it wouldn't work on 5.x, but YMMV.

Regards,

Craig.
------


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to