Hi folks,

I don't really know where is my mistake:

> My version is 20030829
> My system is OpenBSD 3.3
> 
> My Cron Daemon says:
> LibClamAV Warning: Unknown encoding type "text/plain"

ClamAv checks the system, with a script in the crontab. But after my Cron
Daemon sends to me the warning.

This is my script:

#!/bin/sh

MAILTO="[EMAIL PROTECTED]"
SUBJECT="Check FileSystem Report by ClamAV"
LOG="/var/log/clam-checkfsvr.log"
DIR_CHECK="/"

if [ -f $LOG ];then
cat /dev/null > $LOG
else
touch $LOG
Fi

/usr/local/bin/clamscan -v --quiet -r $DIR_CHECK --log-verbose --log=$LOG
mail -s "$SUBJECT" $MAILTO < $LOG

Where is the problem?
Thanks for your patience and support
Regards
Andrea



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to