Find primary_hostname and add the following line above
av_scanner = clamd:/var/run/clamav/clamd
Find check_message:
Make sure it looks like this:
check_message:
deny message = This message contains malformed MIME ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = This message contains a virus or other harmful content ($malware_name)
demime = *
malware = *
deny message = This message contains an attachment of a type which we do not accept (.$found_extension)
demime = bat:com:pif:prf:scr:vbs
warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
freshclam
ClamAV update process started at Wed Nov 29 06:20:14 2006
main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 7, recommended = 10
DON’T PANIC! Read http://www.clamav.net/faq.html
daily.cvd is up to date (version: 2256, sigs: 5366, f-level: 9, builder: ccordes)
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Current functionality level = 7, recommended = 9
DON’T PANIC! Read http://www.clamav.net/faq.html
[hr]
หากพบ error แบบนี้… แสดงว่าตัวโปรแกรม ClamAV เป็น version ที่ out of date แล้ว…
ต้อง download โปรแกรม clamav ตัว stable ล่าสุดมาลง (เป็น binary) เอามา compile ใหม่…
และทำการ update signature virus ใหม่…
freshclam
ควรจะได้ออกมาแบบนี้…
#freshclam
ClamAV update process started at Wed Nov 29 06:22:58 2006
main.cvd is up to date (version: 41, sigs: 73809, f-level: 10, builder: tkojm)
daily.cvd is up to date (version: 2255, sigs: 5360, f-level: 9, builder: sven)