On Mon, 2006-02-06 at 17:08 -0500, Nicolas MacPherson wrote:
> Hello,
> 
>     Just out of curiosity, is there a way to run clamd on a dedicated 
> server, so that clamdscan could process the messages on the remote 
> machine?  

Yes, just change from using a local socket to a TCP socket in
clamd.conf:

# Path to a local socket file the daemon will listen on.
# Default: disabled
#LocalSocket /var/lib/clamav/clamd.socket

# Remove stale socket after unclean shutdown.
# Default: disabled
#FixStaleSocket

# TCP port address.
# Default: disabled
TCPSocket 3310

# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of protection
# from the outside world.
# Default: disabled
TCPAddr 1.2.3.4

You can then refer to the appropriate machine from your milter/glue
program.  For example, in amavis-new, just edit /etc/clamd.conf and
replace /var/lib/clamav/clamd.socket with 1.2.3.4:3310

> I'm curious because I work for an ISP that currently runs a 
> dedicated Spamassassin server, and would like to investigate the 
> possibility of doing the same for ClamAV.  Any assistance would be 
> greatly appreciated.

-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy
[EMAIL PROTECTED]


gpg Key: http://austinnetworkdesign.com/pgp.key
Key fingerprint = B527 F53D 0C8C D38B DCC7  901D 2F19 A13A 22E8 A76A

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to