Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 6 down vote accepted

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

share|improve this answer

download the EICAR test file and scan it. it was made exactly for this purpose

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

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.