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?
download the EICAR test file from www.eicar.org and scan it. it was made exactly for this purpose
You could try to mail the test virus file see http://www.eicar.org/86-0-Intended-use.html