Community Discussions and Support
ClamAv -- Solution

[quote user="harkyman"]

looking into the default configuration of clamd.conf in the ./etc folder in the clamd installation, I saw that on Windows, clamd defaults to not using tcp/ip port for communication: it uses a socket instead.

[/quote]
This setting is actually the default for Linux systems. Sounds as if you're using the SOSDG distribution which still uses the Cygwin emulation layer.

Best regards

Nico
[quote user="harkyman"]<P>looking into the default configuration of clamd.conf in the ./etc folder in the clamd installation, I saw that on Windows, clamd defaults to not using tcp/ip port for communication: it uses a socket instead.</P>[/quote] This setting is actually the default for Linux systems. Sounds as if you're using the SOSDG distribution which still uses the Cygwin emulation layer. Best regards Nico

Hi,

 

Can anyone tel me how to setup clamav. I've installed ClamAv: clamav-0.90.3-1.exe downloaded from http://www.sosdg.org/clamav-win32 or is this the wrong one?

Instaled in defautl dir c:\clamav-devel

Instaled Lukas' ClamWall 1.1.4

Here is the header of one of the passed emails:
Received: from spooler by mydomain.com (Mercury/32 v4.51); 17 Jun 2007 17:51:27 +0200
X-Envelope-To: <me@mydomain.com>
X-SPAMWALL: Passed through antiSPAM test by SpamHalter 4.3.1 on mydomain.com (236)
X-SPAMWALL: probability - 0.0%
X-SPAMWALL: Whitelisted
X-CLAMWALL: Passed through antiviral test by ClamWall 1.1.4 on mydomain.com (31637)
 

However this is a part of the cw logfile for the same message:

  20070617 175238.312 MG000019 From: <test@testdomain.com>
  20070617 175238.312 MG000019 To: me@mydomain.com
C 20070617 175308.921 MG000019 ClamD version:
C 20070617 175308.921 MG000019 ClamD started
C 20070617 175308.921 MG000019 FreshClam started
E 20070617 175310.000 MG000019 ClamD not responding!
_ 20070617 175310.015 MG000019 Done! (31700)

 I've tried several things like starting clamd manually/by clamwal to no avail.

I also tried the version downloaded at: http://hideout.ath.cx/clamav/ (instaler) 

Do i need to alter settings in some other file, and if so what?

 Thnx.

Marcel. 

&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can anyone tel me how to setup clamav. I&#039;ve installed ClamAv: clamav-0.90.3-1.exe downloaded from http://www.sosdg.org/clamav-win32 or is this the wrong one?&lt;/p&gt;&lt;p&gt;Instaled in defautl dir c:\clamav-devel&lt;/p&gt;&lt;p&gt;Instaled Lukas&#039; ClamWall 1.1.4&lt;/p&gt;&lt;p&gt;Here is the header of one of the passed emails: Received: from spooler by mydomain.com (Mercury/32 v4.51); 17 Jun 2007 17:51:27 +0200 X-Envelope-To: &amp;lt;me@mydomain.com&amp;gt; X-SPAMWALL: Passed through antiSPAM test by SpamHalter 4.3.1 on mydomain.com (236) X-SPAMWALL: probability - 0.0% X-SPAMWALL: Whitelisted X-CLAMWALL: Passed through antiviral test by ClamWall 1.1.4 on mydomain.com (31637) &amp;nbsp;&lt;/p&gt;&lt;p&gt;However this is a part of the cw logfile for the same message:&lt;/p&gt;&lt;p&gt;&amp;nbsp; 20070617 175238.312 MG000019 From: &amp;lt;test@testdomain.com&amp;gt; &amp;nbsp; 20070617 175238.312 MG000019 To: me@mydomain.com C 20070617 175308.921 MG000019 ClamD version: C 20070617 175308.921 MG000019 ClamD started C 20070617 175308.921 MG000019 FreshClam started E 20070617 175310.000 MG000019 ClamD not responding! _ 20070617 175310.015 MG000019 Done! (31700) &lt;/p&gt;&lt;p&gt;&amp;nbsp;I&#039;ve tried several things like starting clamd manually/by clamwal to no avail.&lt;/p&gt;&lt;p&gt;I also tried the version downloaded at: http://hideout.ath.cx/clamav/ (instaler)&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do i need to alter settings in some other file, and if so what?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thnx.&lt;/p&gt;&lt;p&gt;Marcel.&amp;nbsp;&lt;/p&gt;

[quote user="Viper-STWK"]Do i need to alter settings in some other file, and if so what?[/quote]

Have you setup the configuration files - clamd.conf and freshclam.conf ?  Lukas has a link to some sample configuarations on his clamwall page http://www.ararat.cz/eng/show.php?clamwall  Make sure they agree with the entries on Clamwall's ClamAV tab.

(As to which Clamav version to use, personally I prefer Nico's builds from hideout.ath.cx.)

&lt;P&gt;[quote user=&quot;Viper-STWK&quot;]Do i need to alter settings in some other file, and if so what?[/quote]&lt;/P&gt; &lt;P&gt;Have you setup the configuration files - clamd.conf and freshclam.conf ?&amp;nbsp; Lukas has a link to some sample configuarations on his clamwall page &lt;A href=&quot;http://www.ararat.cz/eng/show.php?clamwall&quot; mce_href=&quot;http://www.ararat.cz/eng/show.php?clamwall&quot;&gt;http://www.ararat.cz/eng/show.php?clamwall&lt;/A&gt;&amp;nbsp; Make sure they agree with the entries on Clamwall&#039;s ClamAV tab.&lt;/P&gt; &lt;P&gt;(As to which Clamav version to use, personally I prefer Nico&#039;s builds from hideout.ath.cx.)&lt;/P&gt;

I've been watching this thread hoping to find a solution to this problem.  I've experienced the same thing.  It seems like ClamWall does not get the ClamAV started.  I've turned on the log for ClamAV and it does not generate anything when ClamWall calls it.

 --------------------------------

I finally found the solution.

After installing ClamAV in it's default install directory, you must copy all of the files in the "bin" and "etc" folders from the default directory into a folder called ClamAV in the Mercury directory.  

&lt;P&gt;I&#039;ve been watching this thread hoping to find a solution to this problem.&amp;nbsp; I&#039;ve experienced the same thing.&amp;nbsp; It seems like ClamWall does not get the ClamAV started.&amp;nbsp; I&#039;ve turned on the log for ClamAV and it does not generate anything when ClamWall calls it.&lt;/P&gt; &lt;P&gt;&amp;nbsp;-------------------------------- &lt;/P&gt; &lt;P&gt;I finally found the solution.&lt;/P&gt; &lt;P&gt;After installing ClamAV in it&#039;s default install directory, you must copy all of the files&amp;nbsp;in the &quot;bin&quot; and &quot;etc&quot; folders from the default directory into a folder called ClamAV in the Mercury directory.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

[quote user="Eagle"] I finally found the solution.

After installing ClamAV in it's default install directory, you must copy all of the files in the "bin" and "etc" folders from the default directory into a folder called ClamAV in the Mercury directory.[/quote]

If you go to the Clamav tab in the Clamwall configuration you can set any directory to be the location of the Clamav installation.  It doesn't have to be Mercury\Clamav.

[quote user=&quot;Eagle&quot;] I finally found the solution. &lt;P&gt;After installing ClamAV in it&#039;s default install directory, you must copy all of the files&amp;nbsp;in the &quot;bin&quot; and &quot;etc&quot; folders from the default directory into a folder called ClamAV in the Mercury directory.[/quote]&lt;/P&gt; &lt;P&gt;If you go to the Clamav tab in the Clamwall configuration you can set any directory to be the location of the Clamav installation.&amp;nbsp; It doesn&#039;t have to be Mercury\Clamav.&lt;/P&gt;

Just trying this pc and I get this in the logs:

D 20070622 110423.337 MG00000D AV test...
C 20070622 110433.441 MG00000D ClamD version:
C 20070622 110433.441 MG00000D ClamD started
C 20070622 110433.551 MG00000D FreshClam started
D 20070622 110434.543 MG00000D ClamD response:
E 20070622 110434.543 MG00000D ClamD not responding!
D 20070622 110434.543 MG00000D Ban test...
D 20070622 110434.543 MG00000D end tests
_ 20070622 110434.553 MG00000D Done! (11233)

My ClamWall.ini has this:

[ClamAV]
ClamIP=127.0.0.1
ClamPort=3310
ClamSelf=1
ClamDir=C:\MERCURY\ClamAV\

I have copied the files from bin to the above location and still get this.

The message headers suggest the mail has been scanned, but the logs show nothing.

I've installed this version: clamav-0.90.3-1.exe

 Any ideas ?

Thanks
 

&lt;p&gt;Just trying this pc and I get this in the logs:&lt;/p&gt;&lt;p&gt;D 20070622 110423.337 MG00000D AV test... C 20070622 110433.441 MG00000D ClamD version: C 20070622 110433.441 MG00000D ClamD started C 20070622 110433.551 MG00000D FreshClam started D 20070622 110434.543 MG00000D ClamD response: E 20070622 110434.543 MG00000D ClamD not responding! D 20070622 110434.543 MG00000D Ban test... D 20070622 110434.543 MG00000D end tests _ 20070622 110434.553 MG00000D Done! (11233)&lt;/p&gt;&lt;p&gt;My ClamWall.ini has this:&lt;/p&gt;&lt;p&gt;[ClamAV] ClamIP=127.0.0.1 ClamPort=3310 ClamSelf=1 ClamDir=C:\MERCURY\ClamAV\&lt;/p&gt;&lt;p&gt;I have copied the files from bin to the above location and still get this.&lt;/p&gt;&lt;p&gt;The message headers suggest the mail has been scanned, but the logs show nothing.&lt;/p&gt;&lt;p&gt;I&#039;ve installed this version: clamav-0.90.3-1.exe&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas ?&lt;/p&gt;&lt;p&gt;Thanks &amp;nbsp;&lt;/p&gt;

I agree that the directory does not have to be named ClamAV under the Mercury directory.  But, I was trying to follow the ClamWall's documentation that are posted on http://www.ararat.cz/eng/show.php?clamwall.  The last paragraph says to do the following:

ClamAV daemon location

When you turn on ClamSelf, you must specify local directory of your ClamAV installation

here (it is directory name without trailing backslash). ClamD.exe, FreshClam.Exe,

ClamD.conf and FreshClam.conf must exist in this directory. Don’t forget to configure

ClamAV configuration files!

[ClamAV] ClamDir

Nothing seemed to work, then I noticed it said, "must exist in this directory".  What I did to make it work was copy the "bin" directory and the "etc" (combined them) into the ClamAV directory under Mercury.  The program ClamAV, by default, was installed in a directory off the root and changing the tab in the ClamWall setup to point at this location did not work.  I even tried to install the program under the Mercury directory.

It seems that these files have to be in the same directory, at least that is the only way I've been able to get it to work.

In earlier attempts, I even tried to install the ClamAV under the Mercury directory, but did not combine the "bin" and "etc" directories into one.  That combining them into the same directory is what worked for me.

Then again, maybe it's related to the version of ClamAV that I'm using.  I'm using it from http://hideout.ath.cx/clamav/.

All I can say is it's working and I love it.

 

 

 

&lt;P&gt;I agree that the directory does not have to be named ClamAV under the Mercury directory.&amp;nbsp; But, I was trying to follow the ClamWall&#039;s documentation that are posted on &lt;A href=&quot;http://www.ararat.cz/eng/show.php?clamwall&quot; mce_href=&quot;http://www.ararat.cz/eng/show.php?clamwall&quot;&gt;http://www.ararat.cz/eng/show.php?clamwall&lt;/A&gt;.&amp;nbsp; The last paragraph says to do the following:&lt;/P&gt;&lt;B&gt;&lt;FONT face=Arial size=3&gt; &lt;P align=left&gt;ClamAV daemon location&lt;/P&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt; &lt;P align=left&gt;When you turn on ClamSelf, you must specify local directory of your ClamAV installation&lt;/P&gt; &lt;P align=left&gt;here (it is directory name without trailing backslash). ClamD.exe, FreshClam.Exe,&lt;/P&gt; &lt;P align=left&gt;ClamD.conf and FreshClam.conf must exist in this directory. Don&rsquo;t forget to configure&lt;/P&gt; &lt;P align=left&gt;ClamAV configuration files! &lt;/FONT&gt;&lt;B&gt;&lt;I&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;[ClamAV] ClamDir&lt;/FONT&gt;&lt;/I&gt;&lt;/B&gt;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;Nothing seemed to work, then I noticed it said, &quot;&lt;EM&gt;must exist in this directory&lt;/EM&gt;&quot;.&amp;nbsp; What I did to make it work was copy the &quot;bin&quot; directory and the &quot;etc&quot; (combined them) into the ClamAV directory under Mercury.&amp;nbsp; The program ClamAV, by default, was installed&amp;nbsp;in a directory off the root and changing the tab in the ClamWall setup to point at this location did not work.&amp;nbsp; I even tried to install the program under the Mercury directory.&lt;/FONT&gt;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;It seems that these files have to be in the same directory, at least that is the only way I&#039;ve been able to get it to work.&lt;/FONT&gt;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;In earlier attempts, I even tried to install the ClamAV under the Mercury directory, but did not combine the &quot;bin&quot; and &quot;etc&quot; directories into one.&amp;nbsp; That combining them into the same directory is what worked for me.&lt;/FONT&gt;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;Then again, maybe it&#039;s&amp;nbsp;related to the version of ClamAV that I&#039;m using.&amp;nbsp; I&#039;m using it from &lt;A href=&quot;http://hideout.ath.cx/clamav/&quot;&gt;http://hideout.ath.cx/clamav/&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;All I can say is it&#039;s working and I love it.&lt;/FONT&gt;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt; &lt;P align=left&gt;&lt;FONT face=&quot;Times New Roman&quot; size=3&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;

still not working for me.

Can anyone talk me through this ?
 

&lt;p&gt;still not working for me.&lt;/p&gt;&lt;p&gt;Can anyone talk me through this ? &amp;nbsp;&lt;/p&gt;

Are you sure that your clamd.exe works at all?  Try going to the clamav directory where the program is located using cmd.exe and run clamd.exe.  It should start and run normally.

 

&lt;p&gt;Are you sure that your clamd.exe works at all?&amp;nbsp; Try going to the clamav directory where the program is located using cmd.exe and run clamd.exe.&amp;nbsp; It should start and run normally.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

FWIW, using ClamAV/SOSDG I wasn't able to get clamd and freshclam to start up automatically when Mercury/32 loads either.  I have ClamAV/SOSDG installed in \clamav-devel and use a batch file to get everything going.  From the batch file I start clamd, then freshclam, then Mercury/32.  In the ClamWall configuration the ClamAV mode is set to External ClamAV daemon.  Most important is the need to make sure clamd will run manually, as was previously stated.  I struggled to get it working here.  I remember downloading .zip files and extracting the contents and not being able to get clamd to run (same log entries as you receive).  Clamd started co-operating once I downloaded clamav-0.90.3-1.exe from SOSDG.ORG and installed it.  BTW, I start clamd by executing the start-clamd.bat file included with ClamAV.

 --

Brian Fluet
 

&lt;p&gt;FWIW, using ClamAV/SOSDG I wasn&#039;t able to get clamd and freshclam to start up automatically when Mercury/32 loads either.&amp;nbsp; I have ClamAV/SOSDG installed in \clamav-devel and use a batch file to get everything going.&amp;nbsp; From the batch file I start clamd, then freshclam, then Mercury/32.&amp;nbsp; In the ClamWall configuration the ClamAV mode is set to External ClamAV daemon.&amp;nbsp; Most important is the need to make sure clamd will run manually, as was previously stated.&amp;nbsp; I struggled to get it working here.&amp;nbsp; I remember downloading .zip files and extracting the contents and not being able to get clamd to run (same log entries as you receive).&amp;nbsp; Clamd started co-operating once I downloaded clamav-0.90.3-1.exe from SOSDG.ORG and installed it.&amp;nbsp; BTW, I start clamd by executing the start-clamd.bat file included with ClamAV.&lt;/p&gt;&lt;p&gt;&amp;nbsp;--&lt;/p&gt;&lt;p&gt;Brian Fluet &amp;nbsp;&lt;/p&gt;

Installed ClamAV from http://hideout.ath.cx/clamav/

Managed to get it working by manually running clamdscan.exe first.

Once this is running Mercury & ClamWall seem to work OK.

Is this right ??

Thanks 

&lt;p&gt;Installed ClamAV from http://hideout.ath.cx/clamav/&lt;/p&gt;&lt;p&gt;Managed to get it working by manually running clamdscan.exe first.&lt;/p&gt;&lt;p&gt;Once this is running Mercury &amp;amp; ClamWall seem to work OK.&lt;/p&gt;&lt;p&gt;Is this right ??&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;

Just curious.  I was having the same problems as above, BUT after fooling around in "cmd" I realized that the daemon itself wasn't running!  I'm using FireDaemon for Mercury/32, so I created a new entry and VOILA!  Runs as a hidden service which ClamWall calls as needed.

 One thing that wasn't clear from the start was the need to keep the daemon running at all times for the ClamWall to invoke it correctly.  I had incorrectly assumed that Mercury would invoke first the daemon then ClamWall.

Oh, well.  Live and learn.......

 

-Norm

&lt;P&gt;Just curious.&amp;nbsp; I was having the same problems as above, BUT after fooling around in &quot;cmd&quot; I realized that the daemon itself wasn&#039;t running!&amp;nbsp; I&#039;m using FireDaemon for Mercury/32, so I created a new entry and VOILA!&amp;nbsp; Runs as a hidden service which ClamWall calls as needed.&lt;/P&gt; &lt;P&gt;&amp;nbsp;One thing that wasn&#039;t clear from the start was the need to keep the daemon running at all times for the ClamWall to invoke it correctly.&amp;nbsp; I had incorrectly assumed that Mercury would invoke first the daemon then ClamWall.&lt;/P&gt; &lt;P&gt;Oh, well.&amp;nbsp; Live and learn.......&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;-Norm&lt;/P&gt;

I've noticed Clamd is using around 30MB resident memory, compared to BitDefender 8 using 1MB.

Is this normal for ClamD ?
 

&lt;p&gt;I&#039;ve noticed Clamd is using around 30MB resident memory, compared to BitDefender 8 using 1MB.&lt;/p&gt;&lt;p&gt;Is this normal for ClamD ? &amp;nbsp;&lt;/p&gt;

I don't know about the memory.  But, I have done more work to figure out how to get ClamD started and to "keep" it running.

I downloaded ClamAV from http://hideout.ath.cx/clamav/ and did an install of ClamAV into it's default directory "C:\ClamAV".

I pointed ClamWall on the last tab in Mercury in the "ClamAV daemon location" to "C:\ClamAV".

I copied the two config files (clamd.conf and freshclam.conf) from the "C:\ClamAV\etc" directory into the "C:\ClamAV\bin" directory.

I manually start ClamD before starting Mercury.

I'm now able to start ClamWall and have it work correctly.  There seems to be a problem with not having the "conf" files in the same directory as ClamD.exe and FreshClam.exe.

Below is a copy from the ClamWall log.  It is now reporting the version level too.

  20070625 194713.765 MG00000F From: test@testdomain.com
  20070625 194713.765 MG00000F To: me@mydomain.com
C 20070625 194713.796 MG00000F ClamD version: ClamAV 0.90.3/3523/Mon Jun 25 08:30:33 2007
C 20070625 194713.796 MG00000F ClamD started
C 20070625 194713.796 MG00000F FreshClam started
_ 20070625 194713.937 MG00000F Done! (171)

 

 

 

 

&lt;P&gt;I don&#039;t know about the memory.&amp;nbsp; But, I have done more work to figure out how to get&amp;nbsp;ClamD started and to &quot;keep&quot; it running.&lt;/P&gt; &lt;P&gt;I downloaded ClamAV from&amp;nbsp;&lt;A href=&quot;http://hideout.ath.cx/clamav/&quot; mce_href=&quot;http://hideout.ath.cx/clamav/&quot;&gt;http://hideout.ath.cx/clamav/&lt;/A&gt;&amp;nbsp;and did an install of ClamAV into it&#039;s default directory &quot;C:\ClamAV&quot;.&lt;/P&gt; &lt;P&gt;I pointed ClamWall on the last tab in Mercury&amp;nbsp;in the &quot;ClamAV daemon location&quot; to&amp;nbsp;&quot;C:\ClamAV&quot;.&lt;/P&gt; &lt;P&gt;I copied the two config files (clamd.conf and freshclam.conf) from the &quot;C:\ClamAV\etc&quot; directory into the &quot;C:\ClamAV\bin&quot; directory.&lt;/P&gt; &lt;P&gt;I manually start ClamD before starting Mercury.&lt;/P&gt; &lt;P&gt;I&#039;m now able to start ClamWall and have it&amp;nbsp;work correctly.&amp;nbsp; There seems to be a problem with not having the&amp;nbsp;&quot;conf&quot; files&amp;nbsp;in the same directory as ClamD.exe and FreshClam.exe.&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;Below is a copy from the ClamWall log.&amp;nbsp; It is now&amp;nbsp;reporting the version level too.&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp; 20070625 194713.765 MG00000F From: &lt;A href=&quot;mailto:test@testdomain.com&quot;&gt;test&lt;A href=&quot;mailto:test@xxxxxx.zzz&quot;&gt;&lt;A href=&quot;mailto:test@testdomain.com&quot;&gt;@testdomain.com&lt;/A&gt;&lt;/A&gt;&lt;/A&gt; &amp;nbsp; 20070625 194713.765 MG00000F To: &lt;A href=&quot;mailto:me@mydomain.com&quot;&gt;me@mydomain.com&lt;/A&gt; C 20070625 194713.796 MG00000F ClamD version: ClamAV 0.90.3/3523/Mon Jun 25 08:30:33 2007 C 20070625 194713.796 MG00000F ClamD started C 20070625 194713.796 MG00000F FreshClam started _ 20070625 194713.937 MG00000F Done! (171)&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

How do you get freshclam to auto update ?

Is it possible to have email alerts sent if a virus is found. 

&lt;p&gt;How do you get freshclam to auto update ?&lt;/p&gt;&lt;p&gt;Is it possible to have email alerts sent if a virus is found.&amp;nbsp;&lt;/p&gt;

[quote user="tomt"] How do you get freshclam to auto update ?[/quote]

First alter freshclam.conf so that 'DatabaseDirectory' is the same as the setting in clamd.conf, and alter the first 'DatabaseMirror' line so that it points to your country code update site. (Mine is DatabaseMirror db.uk.clamav.net)

Then if you run freshclam.exe it should update the signatures.  Set it to run using your own schedule program like AT if you like.

Or, you could run freshclam with the -d switch, and it will load itself permanently and update at the frequency set in the .conf file in the line 'Checks' which defaults to 12 times a day.

[quote]Is it possible to have email alerts sent if a virus is found. [/quote]

Clamwall doesn't do that. I tried a script which parsed the quarantined files and emailed a notification (you could do similar with the log files), but I don't use it anymore.  Manually checking the log file is now sufficient for me.

 

[quote user=&quot;tomt&quot;] How do you get freshclam to auto update ?[/quote] &lt;P&gt;First alter freshclam.conf so that &#039;DatabaseDirectory&#039; is the same as the setting in clamd.conf, and alter the first &#039;DatabaseMirror&#039; line so that it points to your country code update site. (Mine is DatabaseMirror db.uk.clamav.net)&lt;/P&gt; &lt;P&gt;Then if you run freshclam.exe it should update the signatures.&amp;nbsp; Set it to run using your own schedule program like AT if you like.&lt;/P&gt; &lt;P&gt;Or, you could run freshclam with the -d switch, and it will load itself permanently and update at the frequency set in the .conf file in the line &#039;Checks&#039; which defaults to 12 times a day.&lt;/P&gt; &lt;P&gt;[quote]Is it possible to have email alerts sent if a virus is found.&amp;nbsp;[/quote]&lt;/P&gt; &lt;P&gt;Clamwall doesn&#039;t do that. I tried a script which parsed the quarantined files and emailed a notification (you could do&amp;nbsp;similar with the log files), but I don&#039;t use it anymore.&amp;nbsp; Manually checking the log file is now sufficient for me.&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

[quote user="tomt"]

Just trying this pc and I get this in the logs:

D 20070622 110423.337 MG00000D AV test...
C 20070622 110433.441 MG00000D ClamD version:
C 20070622 110433.441 MG00000D ClamD started
C 20070622 110433.551 MG00000D FreshClam started
D 20070622 110434.543 MG00000D ClamD response:
E 20070622 110434.543 MG00000D ClamD not responding!
D 20070622 110434.543 MG00000D Ban test...
D 20070622 110434.543 MG00000D end tests
_ 20070622 110434.553 MG00000D Done! (11233)

My ClamWall.ini has this:

[ClamAV]
ClamIP=127.0.0.1
ClamPort=3310
ClamSelf=1
ClamDir=C:\MERCURY\ClamAV\

I have copied the files from bin to the above location and still get this.

The message headers suggest the mail has been scanned, but the logs show nothing.

I've installed this version: clamav-0.90.3-1.exe

 Any ideas ?

Thanks
 

[/quote]

 

I just found out from Lucas that Clamwall control over the external programs may not work at all when running as a service.  Apparently this is true for NT Wrapper since I've tested that but I do not know if it's true for all service wrappers.  Apparently he's sending out the command but it does not start clamd.  This would answer a number of questions from people that were never able to get this to work.

 

 

[quote user=&quot;tomt&quot;]&lt;p&gt;Just trying this pc and I get this in the logs:&lt;/p&gt;&lt;p&gt;D 20070622 110423.337 MG00000D AV test... C 20070622 110433.441 MG00000D ClamD version: C 20070622 110433.441 MG00000D ClamD started C 20070622 110433.551 MG00000D FreshClam started D 20070622 110434.543 MG00000D ClamD response: E 20070622 110434.543 MG00000D ClamD not responding! D 20070622 110434.543 MG00000D Ban test... D 20070622 110434.543 MG00000D end tests _ 20070622 110434.553 MG00000D Done! (11233)&lt;/p&gt;&lt;p&gt;My ClamWall.ini has this:&lt;/p&gt;&lt;p&gt;[ClamAV] ClamIP=127.0.0.1 ClamPort=3310 ClamSelf=1 ClamDir=C:\MERCURY\ClamAV\&lt;/p&gt;&lt;p&gt;I have copied the files from bin to the above location and still get this.&lt;/p&gt;&lt;p&gt;The message headers suggest the mail has been scanned, but the logs show nothing.&lt;/p&gt;&lt;p&gt;I&#039;ve installed this version: clamav-0.90.3-1.exe&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any ideas ?&lt;/p&gt;&lt;p&gt;Thanks &amp;nbsp;&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I just found out from Lucas that Clamwall control over the external programs may not work at all when running as a service.&amp;nbsp; Apparently this is true for NT Wrapper since I&#039;ve tested that but I do not know if it&#039;s true for all service wrappers.&amp;nbsp; Apparently he&#039;s sending out the command but it does not start clamd.&amp;nbsp; This would answer a number of questions from people that were never able to get this to work. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Thanks for the information Thomas.  I looked at this some time ago and didn't think there was a problem when running as localsystem, but I have decided to migrate over to external control anyway.

 

&lt;P&gt;Thanks for the information Thomas.&amp;nbsp; I looked at this some time ago and didn&#039;t think there was a problem when running as localsystem, but I have decided to migrate over to external control anyway.&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft