Hi all,
I have SmarterMail, Version: 8684 (Okt 11, 2023), running. I use ClamAV that is shipped with SmarterMail.
The last few days I got error messages that there's a connection issue with ClamAV on127.0.0.1:3310. But this was only when restarting SmarterMail. Today, after a short power outage, I get a lot of these error messages. But I don't find the isssue. I thought that there's a file corruption because of the power outage and I decided to uninstall and reinstall SmarterMail. But this doesn't solve the issue. Then I deleted all the database files of ClamAV to let them download once again. But this doesn't solve the issue, too.
I'm wondering how ClamAv is started by SmarterMail. If I'm right there was a service in the past in Windows which started ClamAV daemon. But now, I don't see any service for this. And in the task manager there's no clamd process running. Shouldn't there be a service for ClamAV? But why isn't this service installed when reinstalling SmarterMail?
In the clamd log file I see every half a minute these lines:
Wed Nov 8 01:54:38 2023 -> +++ Started at Wed Nov 8 01:54:38 2023
Wed Nov 8 01:54:38 2023 -> Received 0 file descriptor(s) from systemd.
Wed Nov 8 01:54:38 2023 -> clamd daemon 1.2.0 (OS: Windows, ARCH: AMD64, CPU: AMD64)
Wed Nov 8 01:54:38 2023 -> Log file size limited to 1048576 bytes.
Wed Nov 8 01:54:38 2023 -> Reading databases from C:\PROGRA~2\SMARTE~1\SMARTE~1\Service\Clam\share\clamav
Wed Nov 8 01:54:38 2023 -> Not loading PUA signatures.
Wed Nov 8 01:54:38 2023 -> Bytecode: Security mode set to "TrustSigned"
Normally there should be more log lines like:
Wed Nov 1 17:43:50 2023 -> Loaded 8779343 signatures.
Wed Nov 1 17:43:55 2023 -> TCP: Bound to [127.0.0.1]:3310
Wed Nov 1 17:43:55 2023 -> TCP: Setting connection queue length to 30
Wed Nov 1 17:43:55 2023 -> Limits: Global time limit set to 120000 milliseconds.
Wed Nov 1 17:43:55 2023 -> Limits: Global size limit set to 419430400 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: File size limit set to 104857600 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: Recursion level limit set to 17.
Wed Nov 1 17:43:55 2023 -> Limits: Files limit set to 10000.
Wed Nov 1 17:43:55 2023 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: MaxScriptNormalize limit set to 20971520 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Wed Nov 1 17:43:55 2023 -> Limits: MaxPartitions limit set to 50.
Wed Nov 1 17:43:55 2023 -> Limits: MaxIconsPE limit set to 100.
Wed Nov 1 17:43:55 2023 -> Limits: MaxRecHWP3 limit set to 16.
Wed Nov 1 17:43:55 2023 -> Limits: PCREMatchLimit limit set to 100000.
Wed Nov 1 17:43:55 2023 -> Limits: PCRERecMatchLimit limit set to 2000.
Wed Nov 1 17:43:55 2023 -> Limits: PCREMaxFileSize limit set to 104857600.
Wed Nov 1 17:43:55 2023 -> Archive support enabled.
Wed Nov 1 17:43:55 2023 -> AlertExceedsMax heuristic detection disabled.
Wed Nov 1 17:43:55 2023 -> Heuristic alerts enabled.
Wed Nov 1 17:43:55 2023 -> Portable Executable support enabled.
Wed Nov 1 17:43:55 2023 -> ELF support enabled.
Wed Nov 1 17:43:55 2023 -> Mail files support enabled.
Wed Nov 1 17:43:55 2023 -> OLE2 support enabled.
Wed Nov 1 17:43:55 2023 -> PDF support enabled.
Wed Nov 1 17:43:55 2023 -> SWF support enabled.
Wed Nov 1 17:43:55 2023 -> HTML support enabled.
Wed Nov 1 17:43:55 2023 -> XMLDOCS support enabled.
Wed Nov 1 17:43:55 2023 -> HWP3 support enabled.
Wed Nov 1 17:43:55 2023 -> Self checking every 1800 seconds.
Wed Nov 1 18:14:47 2023 -> SelfCheck: Database status OK.
So it looks like SmarterMail is trying to start ClamAV but ClamAV can't open the signature database files and doesn't parse the config file regarding the settings. What's going wrong here? How can I fix this issue?
Kind Regards.