Koozali.org: home of the SME Server

clamdscan - Error scanning mail: Invalid server response to scan command

Offline georgios

  • ****
  • 81
  • +0/-0
Today, I had this morning a problem with "Clamdscan" service: "(data_post) virus::clamdscan: Error scanning mail: Invalid server response to scan command: "/var/spool/qpsmtpd/1516973203:19616:0: Can't open file or directory ERROR" at /usr/share/perl5/vendor_perl/ClamAV/Client.pm line 493. "

Therefore Sending and Receiving mails were not working.


So I follow this suggestion: https://bugs.contribs.org/show_bug.cgi?id=10431 with increasing MemLimit
> db configuration setprop clamd MemLimit 1800000000
> signal-event clamav-update

I do a signal event reboot and in the afternoon after 2 hours I have again the same problem "(data_post) virus::clamdscan: Error scanning mail: Invalid server response to scan command: "/var/spool/qpsmtpd/1516973203:19616:0: Can't open file or directory ERROR" at /usr/share/perl5/vendor_perl/ClamAV/Client.pm line 493."

So I disabled clamd and clamav with:
  • db configuration setprop clamav status disabled
  • db configuration setprop clamd status disabled
I disabled both service in order to find a solution and my users to continue to use mail / receiving and sending was not working.

It's first Time I have this problem in 3 Years.

do you have any idea?

[root@mail~]# cat /etc/e-smith-release
SME Server release 9.2



Offline ReetP

  • *
  • 3,950
  • +6/-0
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation