On Mon, 1 Mar 2004, Frank DeChellis DSL wrote:
> Hi. > > We are running Exim 4.2 with Exiscan and SpamAssassin on a separate > server. I just setup clamav on a separate server. > > How do I structure av_scanner = clamd:/var/run/clamd.ctl line in my exim > configuration to use clam off another server? > > What do I enter in my clamav.conf to give another server access to it? > > Thanks for any help you can offer. > Unfortunately I can't offer any help on Exim, but I can tell you this; To have clamd listen on a TCP socket (needed so you can commect from remote hosts - by default it uses a UNIX domain socket) you need to use the TCPSocket keyword in clamav.conf - example : TCPSocket 3310 That would make clamd listen on TCP port 3310 If you have several network interface cards in the machine running clamd, then you may also need to specify TCPAddr to make clamd only bind to a specific IP (by default it'll bind to INADDR_ANY, thereby listening on any available IP address) - example : TCPAddr 192.168.1.123 There are also some settings controlling some limits, like MaxConnectionQueueLength which defines how many connections may be "in queue" - default is 15, but you may want to raise it if you expect a large load. There is also MaxThreads that specifies how many threads clamd uses, you probably want to raise this from the default of 5 to some larger number on a busy server - experiment to find the proper setting (I use 25 on my mailserver which gets ~25000 mails a day). There are other settings that you may want to tune, but you can read about them all in the comments in the clamav.conf file. finally, why are you running clamd on a sepperate host? It does not use a huge amount of resources, so unless your Exim server is very busy it would probably not be overly burdened by running clamd locally. Kind regards, Jesper Juhl ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users