• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

clamdscan error reports from qmail-scanner

S

spiritquest

Guest
HI,

I wanted to ask some of the more experienced members here if they could help me understand this error message in a little more detail.

I have been running qmail-scanner / clamav using clamd and spamassasin successfully for a approx two months now. I have, however, been experiencing "outages" in the mail service (although courier-imap and qmail are active) recently.

Originally i was forced to reboot the server to fix the issues, and this does fix the issue. But looking at the qmailscanner logs has shown that the messages have been showing these errrors:

error_condition: X-Qmail-Scanner-1.25st: clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2

There are threads talking about permissions, but I don't think this applies to my case, as it works for days at a time .. ?

My main problem is that there were messages scanned in the log that have not yet shown up and I am worrying that these messages have somehow been lost, I am not sure how to check if this is the case.

I am considering adding a clamd restart cron job when my clients sites and db's are backed up with my nightly cron job to see if that fixes any clamd memory problems ..

If any one has any links or could explain why the system may be reporting these errors I would greatly appreciate it.

Kind Regards,

Ketan
 
My main problem is that there were messages scanned in the log that have not yet shown up and I am worrying that these messages have somehow been lost, I am not sure how to check if this is the case.

So the messages eventually arrived, but I am worried about the memory errors.
 
I've found that clamd occassionally crashes, as it did alst night ... I ran /sbin/service clamd restart and it failed to shutdown but started ok. Which answered my question as to why emails hadn't arrived for an hour or so.

I have set up a cron job /sbin/service clamd status every hour, so i can monitor its activity.
 
Back
Top