Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Virtualmin and have it set up to have Postfix scan incoming emails with ClamAV (using clamdscan) and delete any emails which contain a virus. However when I email myself the EICAR test string, it comes through just fine. I know ClamAV will report this file as a virus. How can I troubleshoot this / what could be wrong?

share|improve this question
up vote 0 down vote accepted

Check /var/log/mail.log and ensure the mail flow does go through clam, the mail headers are usually tagged as well.

Another thing to check is that it's clam 0.95 or newer, and freshclam is running to get virus defs, older versions of clam are now blocked due to limits.

share|improve this answer
I'm not sure exactly what was wrong... but after many postfix and clamd server restarts, it's now working... – Josh May 5 '10 at 19:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.