Sorry Vlk :-, but I have three more bugs for you.

Ok, so now I’m doing the virus-scan with ashCmd. It’s invoked by my email server, which is running as a service.

I defined the task ‘vpop3’ which scans the folder my email server puts attachments into. I have excluded that directory from the standard shield in the resident protection task. I selected save results and no alerts for the task.

I used the command
ashCmd /@=vpop3
then I get the following error message in my email server’s logfile:
Error m_Screen.Initialize - initialization of class CScreen failed. Contact us with error description, please.
So I figured, it’s probably because it’s running from a service, with no access to the display. I saw the option "/" being about input/output from STDIN/STDOUT (standard in, standard out), and figured this might be the answer:
ashCmd.exe /
/@=vpop3
That was it, it worked. So far so good.

However, the task ran, and produced the following output to STDOUT (which I redirected to a file):

----------------------------------------------------------------

Number of scanned files: 4

Number of scanned folders: 1

Number of infected files: 2

Total size of scanned files: 407

Virus database: 0312-2 30.12.03

Total scan time: 2624999152:4294967283:4294967238

Bugs:
[*]Even though I selected ‘store results’ in the task definition, the Enhanced interface has no session log.[*]I got two alerts sent to me (one for each of the two infected attachments), even though I have not selected any of the alerts for this task! I do have an alert defined, which sends me email, but I have not associated it with the ‘vpop3’ task. Strange![*]the total scan time reported seems a bit high :wink:

Regards,
Scott.