How to monitor ClamAV

amavisclamavpostfix

I have a postfix mailserver with amavis as a content_filter setup successfully an now I wonder how I can monitor if clamav is working properly. The clamav logfile is empty and I can not see any trace that it is working. I don't have any clue that it is not working, I just want to be sure that is working properly.

So how can I monitor and test ClamAV to verfiy that it is working properly?

Best Answer

Just send an email with the eicar test file attached. This file has a signature which any virus scanner should know and detect.

As for the monitoring of the clamd process itself, there are many possibilities. I personally prefer using monit for it.