I have other way to install the clamav on my server:
Code:
useradd clamav; groupadd clamav; cd /usr/src
wget http://freshmeat.net/redir/clamav/29355/url_tgz/clamav-0.91.tar.gz
mv /usr/local/etc/freshclam.conf /usr/local/etc/freshclam.conf.old
mv /usr/local/etc/clamd.conf /usr/local/etc/clamd.conf.old
tar -xzf clamav-*
make && make install
sed -i 's/Example/#Example/g' /usr/local/etc/freshclam.conf
sed -i 's/Example/#Example/g' /usr/local/etc/clamd.conf
freshclam
touch /var/log/clam-update.log
chown clamav:clamav /var/log/clam-update.log
ln -s /usr/local/sbin/clamd /usr/sbin/clamd
after that, I changed, the exim.conf in the section check_message:
Code:
check_message:
# Enabling this will make the server non-rfc compliant
# require verify = header_sender
require verify = sender
deny message = TEXT - wrong MIME type ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = TEXT MALWARE ($malware_name)
demime = *
malware = *
deny message = TEXT - wrong extention (.$found_extension)
demime = bat:com:pif:prf:scr:vbs:exe
warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
accept