Random CLAMAV error killing MailScanner
richard at fastnet.co.uk
Tue Sep 22 13:29:50 UTC 2015
I did this about 3 years ago and I've never looked back since -
Maximum Processing Attempts = 0
The reason being is that once I started getting those errors in the logs, MailScanner would quarantine everything until it got restarted, so it was a nightmare for me.
Then again, I know my permissions are fine, so your problem might be different.
From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Anthony Cartmell
Sent: 22 September 2015 11:48
To: MailScanner discussion <mailscanner at lists.mailscanner.info>
Subject: Random CLAMAV error killing MailScanner
Last night I noticed exactly 50 messages failing to be processed. Oddly six of these were duplicate copies of a message sent to me that were processed and delivered without trouble. It was only one of the three recipients (a local server mail account) that didn't get the message
delivered: it would seem that the message itself wasn't the problem.
The first processing attempt I get this error in the maillog:
Sep 22 03:51:31 gus MailScanner: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./t8M2nAIC012697.header/Access denied. ERROR ::
but then MailScanner tries five more attempts, and on the repeated attempts this error is not repeated. The message is then quarantined.
Sep 22 03:52:54 gus MailScanner: Making attempt 2 at processing message t8M2nAIC012697 Sep 22 03:58:30 gus MailScanner: Making attempt 3 at processing message t8M2nAIC012697 Sep 22 04:03:00 gus MailScanner: Making attempt 4 at processing message t8M2nAIC012697 Sep 22 04:05:12 gus MailScanner: Making attempt 5 at processing message t8M2nAIC012697 Sep 22 04:10:50 gus MailScanner: Making attempt 6 at processing message t8M2nAIC012697 Sep 22 04:10:56 gus MailScanner: Warning: skipping message
t8M2nAIC012697 as it has been attempted too many times Sep 22 04:10:56 gus MailScanner: Quarantined message
t8M2nAIC012697 as it caused MailScanner to crash several times Sep 22 04:10:56 gus MailScanner: Saved entire message to
Looks like an odd permission problem, but this is on a server that has been running MailScanner happily for years. CentOS 6.7, MailScanner 4.84.5, no SELinux.
Anyone seen this before?
www.fonant.com - Quality web sites
Tel. 01903 867 810
Fonant Ltd is registered in England and Wales, company No. 7006596 Registered office: Amelia House, Crescent Road, Worthing, West Sussex,
MailScanner mailing list
mailscanner at lists.mailscanner.info
More information about the MailScanner