I have setup a new email server and now I need to test that Clam Antivirus is scanning messages correctly.

How should I do this in a safe and controlled way?


The easiest way would be to us an EICAR test file. Create a text file and add in the following code:


More information here


download the EICAR test file from www.eicar.org and scan it. it was made exactly for this purpose

  • The Link is a 404 – Srinath Ganesh Apr 19 at 5:52
  • 1
    @SrinathGanesh thanks, I have updated the link – Gryphius Apr 21 at 5:47

You could try to mail the test virus file see http://www.eicar.org/86-0-Intended-use.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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