I finally got the backup together and did the CD upgrade and encountered the same problem as before. Being a relative newbie to smeserver I would like to get feedback on what I see before I report a bug. In particular, a workaround would be very helpful so I don't have to revert to 7.1 so the server can be up for users in the morning -- that involves a lot of extra work.
The problem is that outgoing mail won't go out. From the qpsmtpd log, it appears to me that the outgoing virus scan is failing due to an configuration issue with clamd.conf and keeping the message from being sent. It looks like I need to get a boolean value set for LogFileUnlock which is currently blank. I tried setting it to yes but that didn't do it
So near and yet so far!! Please someone help get this going so I can put this server back in operation. Many thanks in advance!!
Here is extract from qpsmtpd log:
@4000000047c1f0ac0c889094 11645 spooling message to disk
@4000000047c1f0ac12dde32c 11645 virus::clamav plugin: Changing permissions on file to permit scanner access
@4000000047c1f0ac131c8654 11645 virus::clamav plugin: clamscan results: ERROR: Parse error at line 28: Option LogFileUnlock requires boolean argument.
@4000000047c1f0ac131c95f4 WARNING: Can't parse the configuration file.
@4000000047c1f0ac132037a4 11645 virus::clamav plugin: ClamAV error: /usr/bin/clamdscan --stdout --config-file=/etc/clamd.conf --disable-summary /var/spool/qpsmtpd/1203892386:11645:0 2>&1: 2
@4000000047c1f0ac1320435c
@4000000047c1f0ac1332a27c 11645 logging::logterse plugin: ` 192.168.3.138 pc-00138.*****.com RDSupport <christina.welsh@*****.com> <doug@*****.com> virus::clamav 902 msg denied before queued
@4000000047c1f0ac1341775c 11645 logterse plugin: ` 192.168.3.138 pc-00138.*****.com RDSupport <christina.welsh@*****.com> <doug@*****.com> virus::clamav 902 msg denied before queued
@4000000047c1f0ac134aed3c 11645 452 Message denied temporarily
@4000000047c1f0ae31408f04 11645 dispatching QUIT
@4000000047c1f0ae314a5ad4 11645 221 *****.com closing connection. Have a wonderful day.
@4000000047c1f0ae314edb2c 11645 click, disconnecting
Here is clamd.conf
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at
http://www.contribs.org/development/#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
ArchiveBlockEncrypted no
ArchiveBlockMax no
ArchiveMaxCompressionRatio 300
ArchiveMaxFileSize 15M
ArchiveMaxFiles 1500
ArchiveMaxRecursion 8
DatabaseDirectory /var/clamav
Debug no
DetectBrokenExecutables no
FixStaleSocket yes
Foreground yes
IdleTimeout 60
LeaveTemporaryFiles no
LocalSocket /var/clamav/clamd.socket
LogClean no
LogFile /dev/stderr
LogFileMaxSize 0
LogFileUnlock
LogTime no
LogVerbose yes
MaxConnectionQueueLength 30
MaxDirectoryRecursion 20
MaxThreads 20
ReadTimeout 300
ScanArchive yes
ScanHTML yes
ScanMail yes
ScanOLE2 yes
ScanPE yes
#ScanRAR
SelfCheck 1800
# Close the connection if this limit is exceeded.
StreamMaxLength 25M
#TCPAddr 127.0.0.1
#TCPSocket 3310
TemporaryDirectory /var/tmp
User clamav
AllowSupplementaryGroups yes