ClamAV - Updating from versions lower than 0.90.0: Difference between revisions
Scottnelson (talk | contribs) No edit summary |
Scottnelson (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
vi ../conf/clamd.conf.in | vi ../conf/clamd.conf.in | ||
change option: 'LogTime' to 'LogTime yes' ( was just 'LogTime' by itself before ) | change option: 'LogTime' to 'LogTime yes' ( was just 'LogTime' by itself before ) | ||
change option: 'LogSyslog' to 'LogSyslog yes' ( was just 'LogSyslog' by itself before ) | change option: 'LogSyslog' to 'LogSyslog yes' ( was just 'LogSyslog' by itself before ) | ||
vi ../conf/freshclam.conf.in | vi ../conf/freshclam.conf.in | ||
Add option: ScriptedUpdates yes | Add option: ScriptedUpdates yes | ||
cd /opt/zimbra/clamav-0.90/etc/ | cd /opt/zimbra/clamav-0.90/etc/ | ||
copy: clamd.conf clamd.conf.org | copy: clamd.conf clamd.conf.org | ||
copy: freshclam.conf freshclam.conf.org | copy: freshclam.conf freshclam.conf.org | ||
copy: /opt/zimbra/clamav-0.88.7/etc/clamd.conf ../../clamav-0.90/etc/ | copy: /opt/zimbra/clamav-0.88.7/etc/clamd.conf ../../clamav-0.90/etc/ | ||
copy: /opt/zimbra/clamav-0.88.7/etc/freshclam.conf ../../clamav-0.90/etc/ | copy: /opt/zimbra/clamav-0.88.7/etc/freshclam.conf ../../clamav-0.90/etc/ | ||
Line 27: | Line 35: | ||
For the curious: cd /opt/zimbra/clamav-0.90/etc/ | For the curious: cd /opt/zimbra/clamav-0.90/etc/ | ||
diff clamd.conf clamd.conf.org to see changes. | diff clamd.conf clamd.conf.org to see changes. | ||
Line 33: | Line 42: | ||
For /opt/zimbra/clamav-0.90/etc/freshclam.conf I added the line: | For /opt/zimbra/clamav-0.90/etc/freshclam.conf I added the line: | ||
ScriptedUpdates yes | ScriptedUpdates yes | ||
Line 42: | Line 52: | ||
Test test test! | Test test test! | ||
Download test file http://www.eicar.org/anti_virus_test_file.htm | Download test file http://www.eicar.org/anti_virus_test_file.htm | ||
Scotty | Scotty |
Revision as of 22:37, 6 May 2007
New Version of CLAMAV is out today - Ver 0.90
ver 0.90 has some new features and as such, a couple of new option switches.
With the above "Howto: Update ClamAV" instructions in mind and also assuming you are upgrading from version 0.88.7. If upgrading from something else other than 0.88.7 , substitute your version for 0.88.7 mentioned below.
Also changed the following:
vi ../conf/clamd.conf.in
change option: 'LogTime' to 'LogTime yes' ( was just 'LogTime' by itself before )
change option: 'LogSyslog' to 'LogSyslog yes' ( was just 'LogSyslog' by itself before )
vi ../conf/freshclam.conf.in
Add option: ScriptedUpdates yes
cd /opt/zimbra/clamav-0.90/etc/
copy: clamd.conf clamd.conf.org
copy: freshclam.conf freshclam.conf.org
copy: /opt/zimbra/clamav-0.88.7/etc/clamd.conf ../../clamav-0.90/etc/
copy: /opt/zimbra/clamav-0.88.7/etc/freshclam.conf ../../clamav-0.90/etc/
(You just don't want to use clamav defaults but use your previous config with zimbra specific config stuff )
For the curious: cd /opt/zimbra/clamav-0.90/etc/
diff clamd.conf clamd.conf.org to see changes.
Modified /opt/zimbra/clamav-0.90/etc/clamd.conf with 'LogTime yes' and 'LogSyslog yes' above.
For /opt/zimbra/clamav-0.90/etc/freshclam.conf I added the line:
ScriptedUpdates yes
ScriptedUpdates means that clamav gets the just the virus DB changes and not the whole file each time.
Verify owner is zimbra:zimbra again.
Restart as zimbra user ( su zimbra ) 'zmcontrol stop' then 'zmcontrol start' and check the /opt/zimbra/log/clamd.log to see if all is right with the world again.
Test test test!
Download test file http://www.eicar.org/anti_virus_test_file.htm
Scotty