OK, so Clam log shows
Tue Jan 24 21:10:46 2017 -> +++ Started at Tue Jan 24 21:10:46 2017
Tue Jan 24 21:10:46 2017 -> Received 0 file descriptor(s) from systemd.
Tue Jan 24 21:10:46 2017 -> clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Tue Jan 24 21:10:46 2017 -> Running as user clamscan (UID 987, GID 982)
Tue Jan 24 21:10:46 2017 -> Log file size limited to 2097152 bytes.
Tue Jan 24 21:10:46 2017 -> Reading databases from /var/lib/clamav
Tue Jan 24 21:10:46 2017 -> Not loading PUA signatures.
Tue Jan 24 21:10:46 2017 -> Bytecode: Security mode set to "TrustSigned".
Tue Jan 24 21:10:56 2017 -> Loaded 5628283 signatures.
Tue Jan 24 21:10:57 2017 -> TCP: Bound to [127.0.0.1]:3310
Tue Jan 24 21:10:57 2017 -> TCP: Setting connection queue length to 30
Tue Jan 24 21:10:57 2017 -> LOCAL: Unix socket file /var/run/clamd.scan/clamd.sock
Tue Jan 24 21:10:57 2017 -> LOCAL: Setting connection queue length to 30
Tue Jan 24 21:10:57 2017 -> Limits: Global size limit set to 104857600 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: File size limit set to 26214400 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: Recursion level limit set to 16.
Tue Jan 24 21:10:57 2017 -> Limits: Files limit set to 10000.
Tue Jan 24 21:10:57 2017 -> Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: MaxScriptNormalize limit set to 5242880 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Tue Jan 24 21:10:57 2017 -> Limits: MaxPartitions limit set to 50.
Tue Jan 24 21:10:57 2017 -> Limits: MaxIconsPE limit set to 100.
Tue Jan 24 21:10:57 2017 -> Limits: MaxRecHWP3 limit set to 16.
Tue Jan 24 21:10:57 2017 -> Limits: PCREMatchLimit limit set to 10000.
Tue Jan 24 21:10:57 2017 -> Limits: PCRERecMatchLimit limit set to 5000.
Tue Jan 24 21:10:57 2017 -> Limits: PCREMaxFileSize limit set to 26214400.
Tue Jan 24 21:10:57 2017 -> Archive support enabled.
Tue Jan 24 21:10:57 2017 -> Algorithmic detection enabled.
Tue Jan 24 21:10:57 2017 -> Portable Executable support enabled.
Tue Jan 24 21:10:57 2017 -> ELF support enabled.
Tue Jan 24 21:10:57 2017 -> Detection of broken executables enabled.
Tue Jan 24 21:10:57 2017 -> Mail files support enabled.
Tue Jan 24 21:10:57 2017 -> OLE2 support enabled.
Tue Jan 24 21:10:57 2017 -> PDF support enabled.
Tue Jan 24 21:10:57 2017 -> SWF support enabled.
Tue Jan 24 21:10:57 2017 -> HTML support enabled.
Tue Jan 24 21:10:57 2017 -> XMLDOCS support enabled.
Tue Jan 24 21:10:57 2017 -> HWP3 support enabled.
Tue Jan 24 21:10:57 2017 -> Self checking every 600 seconds.
Tue Jan 24 21:11:32 2017 -> WARNING: lstat() failed on: /tmp/clamav_test.5650
performed omshut and omrc at 21:29 and omshowlog then shows
ERROR Service Router(Service Router) 24.01.17 21:29:19
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: <none - expect greeting reply>
Reply received: 503 "ClamAV" cannot scan Scalix-owned file lstat() failed: No such file or directory. ERROR
ERROR Service Router(Service Router) 24.01.17 21:29:49
[OM 5181] Reply timed out or invalid - Mapper protocol problem.
Command sent: QUIT Please Close This Session
Reply received:
ERROR Service Router(Service Router) 24.01.17 21:29:49
[OM 5183] A Mapper error has been detected.
Current errno value: 4
-> rsl_GetMapperTimeOut
-> cust_GetCustomiseInfo
<- cust_GetCustomiseInfo
<- rsl_GetMapperTimeOut
-> os_fcntl
<- os_fcntl
-> os_fcntl
<- os_fcntl
-> rsl_ReadMapperReply
-> rsl_GetMapperTimeOut
<- rsl_GetMapperTimeOut
-> os_StringToInt
<- os_StringToInt
-> rsl_CheckMapperReply
<- /build/12.6.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/12.6.0/src/lib/rsl/rsl_match.c:398[100,5183]
SERIOUS ERROR Service Router(Service Router) 24.01.17 21:29:49
[OM 5183] A Mapper error has been detected.
-> cust_GetCustomiseInfo
<- cust_GetCustomiseInfo
<- rsl_GetMapperTimeOut
-> os_fcntl
<- os_fcntl
-> os_fcntl
<- os_fcntl
-> rsl_ReadMapperReply
-> rsl_GetMapperTimeOut
<- rsl_GetMapperTimeOut
-> os_StringToInt
<- os_StringToInt
-> rsl_CheckMapperReply
<- /build/12.6.0/src/lib/rsl/rsl_match.c:244[100,5183]
<- /build/12.6.0/src/lib/rsl/rsl_match.c:756[100,5183]
<- /build/12.6.0/src/lib/rsl/rsl_match.c:1454[100,5183]
systemctl status clamd@scan shows the service is running but shows a warning on the clam test file produced by omvscan.map
● clamd@scan.service - Generic clamav scanner daemon
Loaded: loaded (/usr/lib/systemd/system/clamd@scan.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2017-01-24 21:26:58 GMT; 6min ago
Main PID: 7276 (clamd)
CGroup: /system.slice/system-clamd.slice/clamd@scan.service
└─7276 /usr/sbin/clamd -c /etc/clamd.d/scan.conf --foreground=yes
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: Mail files support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: OLE2 support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: PDF support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: SWF support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: HTML support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: XMLDOCS support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: HWP3 support enabled.
Jan 24 21:27:10 mail.garycoombs.co.uk clamd[7276]: Self checking every 600 seconds.
Jan 24 21:29:19 mail.garycoombs.co.uk clamd[7276]: WARNING: lstat() failed on: /tmp/clamav_test.8098
Jan 24 21:29:19 mail.garycoombs.co.uk clamd[7276]: lstat() failed on: /tmp/clamav_test.8098
omvscan.log shows
017-01-24 21:11:32:PID=5650:############## /var/opt/scalix/ml/s/tmp/omvscan_cfg.5650
2017-01-24 21:11:32:PID=5650:OMAV_LOGFILE=$(omrealpath '~/logs/omvscan.log')
2017-01-24 21:11:32:PID=5650:OMAV_LOGLEVEL=3
2017-01-24 21:11:32:PID=5650:CLAMAV_ENGINE=/usr/bin/clamdscan
2017-01-24 21:11:32:PID=5650:CLAMAV_SCAN_OPTIONS='--stdout'
2017-01-24 21:11:32:PID=5650:CLAMAV_CLEAN_OPTIONS='--stdout'
2017-01-24 21:11:32:PID=5650:CLAMAV_LOGPGX=$(omrealpath '~/tmp/clamav.log')
2017-01-24 21:11:32:PID=5650:CLAMAV_USE_LOCKING=no
2017-01-24 21:11:32:PID=5650:CLAMAV_LOCK_FILE=clamav.lock
2017-01-24 21:11:32:PID=5650:############## /var/opt/scalix/ml/s/tmp/omvscan_cfg.5650
2017-01-24 21:11:32:PID=5650:/usr/bin/clamdscan --stdout /tmp/clamav_test.5650 > /var/opt/scalix/ml/s/tmp/clamav.log.5650
2017-01-24 21:11:32:PID=5650:[Reply]:503 "ClamAV" cannot scan Scalix-owned file2017-01-24 21:11:32:PID=5650:[Reply]: lstat() failed: No such file or directory. ERROR
2017-01-24 21:29:19:PID=8098:############## /var/opt/scalix/ml/s/tmp/omvscan_cfg.8098
2017-01-24 21:29:19:PID=8098:OMAV_LOGFILE=$(omrealpath '~/logs/omvscan.log')
2017-01-24 21:29:19:PID=8098:OMAV_LOGLEVEL=3
2017-01-24 21:29:19:PID=8098:CLAMAV_ENGINE=/usr/bin/clamdscan
2017-01-24 21:29:19:PID=8098:CLAMAV_SCAN_OPTIONS='--stdout'
2017-01-24 21:29:19:PID=8098:CLAMAV_CLEAN_OPTIONS='--stdout'
2017-01-24 21:29:19:PID=8098:CLAMAV_LOGPGX=$(omrealpath '~/tmp/clamav.log')
2017-01-24 21:29:19:PID=8098:CLAMAV_USE_LOCKING=no
2017-01-24 21:29:19:PID=8098:CLAMAV_LOCK_FILE=clamav.lock
2017-01-24 21:29:19:PID=8098:############## /var/opt/scalix/ml/s/tmp/omvscan_cfg.8098
2017-01-24 21:29:19:PID=8098:/usr/bin/clamdscan --stdout /tmp/clamav_test.8098 > /var/opt/scalix/ml/s/tmp/clamav.log.8098
2017-01-24 21:29:19:PID=8098:[Reply]:503 "ClamAV" cannot scan Scalix-owned file2017-01-24 21:29:19:PID=8098:[Reply]: lstat() failed: No such file or directory. ERROR
Hope this helps,
Gary