Anti-Virus

Info

posted Jan 11, 2010, 3:53 PM by Chris Franklin

Anti-Virus is a bash shell script that pass' all incoming email though
clamav. And if a virus is found it rejects the message with a 
"550 Virus : $Virus Found in Email"
The var $Virus will be replaced with the real Virus' name.



Requiremnts:
1. bash
2. ClamAV
3. clamd running in deamon mode
4. awk
5. bitdefender

Install:
1. download anti-virus.sh to your MailRoot/filers/ dir.
2. add this to your filters.post-data.tab file
"/var/MailRoot/filters/anti-virus.sh"[TAB]"@@FILE"[TAB]"@@REMOTEADDR"[TAB]"@@USERAUTH"
3. start Clamd
4. restart Xmail


Pros:
1. Stops virus' at the door. Instead of in the dinning room.
2. Alerts the sender of the virus with out sending out a second email 
(aka no bounce messages !!!)

Cons:
1. Slows down smtp transaction (no where near enough to cause a time out)
2. Doesn't scan pop3 synced emails as they come'in

1-1 of 1