ClamAV - Updating from versions lower than 0.90.0: Difference between revisions
Scottnelson (talk | contribs) No edit summary |
No edit summary |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Archive}}Version 0.90.2 of CLAMAV is out as of May 6th, 2007. | |||
http://www.clamav.net/ | http://www.clamav.net/ | ||
Ver 0.90.2 has some new features and as such, a couple of new option switches. | |||
With the | With the "Howto Update ClamAV" instructions in mind and also assuming you are upgrading from version 0.87.1 through 0.88.7 . | ||
Changed the following: | |||
'''vi ../conf/clamd.conf.in''' | |||
change option: ' | 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/conf/''' | |||
'''cp clamd.conf clamd.conf.org''' | |||
'''cp freshclam.conf freshclam.conf.org''' | |||
'''cp clamd.conf ../../clamav-0.90.2/etc/''' | |||
'''cp freshclam.conf ../../clamav-0.90.2/etc/''' | |||
(You just don't want to use clamav defaults but use your previous config with zimbra specific config stuff ) | (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/ | For the curious: '''cd /opt/zimbra/clamav-0.90.2/etc/''' | ||
'''diff /opt/zimbra/conf/clamd.conf clamd.conf.org''' to see changes. | |||
ScriptedUpdates means that clamav gets the just the virus DB changes and not the whole file each time. | ScriptedUpdates means that clamav gets the just the virus DB changes and not the whole file each time. | ||
Line 49: | Line 44: | ||
Verify owner is zimbra:zimbra again. | 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. | 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! | Test test test! | ||
Line 56: | Line 51: | ||
Scotty | Scotty | ||
{{Article Footer|unknown|5/6/2007}} | |||
[[Category:Anti-virus]] |
Latest revision as of 13:23, 24 March 2015
Version 0.90.2 of CLAMAV is out as of May 6th, 2007.
Ver 0.90.2 has some new features and as such, a couple of new option switches.
With the "Howto Update ClamAV" instructions in mind and also assuming you are upgrading from version 0.87.1 through 0.88.7 .
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/conf/
cp clamd.conf clamd.conf.org
cp freshclam.conf freshclam.conf.org
cp clamd.conf ../../clamav-0.90.2/etc/
cp freshclam.conf ../../clamav-0.90.2/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.2/etc/
diff /opt/zimbra/conf/clamd.conf clamd.conf.org to see changes.
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