This page contains a list of virus command line examples which works with hMailServer.
Command line: "C:\Program Files\Grisoft\AVG Free\avgscan.exe" /EXT=* /NOBOOT /NOMEM /SCAN /NOSELF /NOHIMEM /ARC "%FILE%"
Return value: 6
Note that earlier versions of AVG Free 8's avgscanx.exe did not return a value indicating whether a virus was found or not. To be able to use the command line below, make sure you have an up to date version of AVG Free 8. As of 2008-07-07, the version published on http://free.avg.com/ is up to date.
Command line: "C:\Program Files\AVG\AVG8\avgscanx.exe" /EXT=* /NOBOOT /NOMEM /SCAN="%FILE%" /NOSELF /NOHIMEM /ARC
Return value: 5
Command line: "C:\Program Files\AVG\AVG8\avgscanx.exe" /EXT=* /NOBOOT /NOMEM /SCAN="%FILE%" /NOSELF /NOHIMEM /ARC
Return value: 5
Command Line "C:\Program Files (x86)\AVG\Av\avgscana.exe" /EXT=* /SCAN="%FILE%" /ARC
Return Value: 5
Use the test button in hMailsevrer>> AntiVirus >> External Virus Scanner, which will test using the EICAR simulated virus.
Or use one of the many web sites who will send the EICAR simulated virus, including http://www.aleph-tec.com/eicar/index.php.