28

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?

Dan
  • 15,280
  • 1
  • 35
  • 67
karthick
  • 663
  • 3
  • 7
  • 13

3 Answers3

47

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

X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

More information here

Lexib0y
  • 227
  • 3
  • 14
Dan
  • 15,280
  • 1
  • 35
  • 67
9

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

Gryphius
  • 2,710
  • 1
  • 18
  • 19
3

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

user993553
  • 429
  • 3
  • 8