Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: georgios on January 26, 2018, 03:23:59 PM

Title: clamdscan - Error scanning mail: Invalid server response to scan command
Post by: georgios on January 26, 2018, 03:23:59 PM
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:
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


Title: Re: clamdscan - Error scanning mail: Invalid server response to scan command
Post by: ReetP on January 26, 2018, 08:30:05 PM
See this post.

https://forums.contribs.org/index.php/topic,53488.0.html

Awaiting fixed files