nzyme
06-15-2007, 04:19 AM
Jeff, how do i get ClamAV in SB2 ?
edit:
## 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
accept
## Save and exit
## Restart exim
/sbin/service exim restart
found it right here on the forums :)
http://www.directadmin.com/forum/showthread.php?threadid=10478
edit:
## 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
accept
## Save and exit
## Restart exim
/sbin/service exim restart
found it right here on the forums :)
http://www.directadmin.com/forum/showthread.php?threadid=10478