Postby ScalixSupport » Fri Jan 06, 2006 1:55 pm
Hi Mike,
If the EICAR file is being received, that's *not* a good thing because it's a test virus and the message should be blocked. That means ClamAV isn't working. If nothing is being received now, it sounds like clamd is either no longer running or is not running with sufficient rights to access mail in the /var/opt/scalix/data subdirectories. The first thing to do is to rename the /var/opt/scalix/rules/ALL-ROUTES.VIR to ALL-ROUTES.VIR.orig, then stop and restart the service router:
cd /var/opt/scalix/rules
mv ALL-ROUTES.VIR ALL-ROUTERS.VIR.orig
omoff -d0 sr
omon sr
Now, mail should be flowing correctly. The messages that weren't sent are in the Error Queue and you need to resubmit those by typing:
omresub -q error
Now, we need to determine if clamd is running and if it has sufficient rights. First type:
ps -aef|grep clamd
and verify that it's running. If it's not, then that's the problem. If it is, then type the following:
cd /var/opt/scalix/data/0000001
clamdscan *
Are you getting permission denied errors? if so, you haven't added the clamd user to the scalix group (see the Tech Note). Make that change and restart clamd. Now redo the clamdscan test above and verify that clamdscan can read the Scalix data files. Once that's working, go back to the /var/opt/scalix/rules subdirectory, rename the ALL-ROUTES.VIR.orig file back and restart the service router.
Thanks,
Rachel