Bill Landry wrote:
> Adam Gibson wrote:
>> Gary V wrote:
>>> (have not tried it though). Make sure your update script is a recent
>>> one that tests the downloads before employing them and consider
>>
>> This is one of the most important steps IMHO. I would make sure the
>> script tests the dat files before copying them into place. The
>> scripts that I have used over the years tests the dat files with the
>> eicar virus test pattern to make sure they work before copying them
>> into place.
>
Thanks. I will check for a newer script. Below is the one I'm using. I have
no idea where I got it, as it was several years ago. Looks pretty simple and
doesn't appear to do any testing.
[EMAIL PROTECTED] scripts]# cat freshclam
#!/bin/sh
### A simple update script for the clamav virus database.
### This could as well be replaced by a SysV script.
### fix log file if needed
LOG_FILE="/var/log/clamav/freshclam.log"
if [ ! -f "$LOG_FILE" ]; then
touch "$LOG_FILE"
chmod 644 "$LOG_FILE"
chown clamav.clamav "$LOG_FILE"
fi
/usr/bin/freshclam \
--quiet \
--datadir="/var/clamav" \
--log="$LOG_FILE" \
--log-verbose \
--daemon-notify="/etc/clamd.conf"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/