1

Topic: libclamav error: mpool_malloc():

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: Debian 6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

i have a big problem at all of my servers, i don't receive mails i saw this error
libclamav error: mpool_malloc(): attempt to allocate 8388608 bytes

can you help me? any idea?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: libclamav error: mpool_malloc():

Please upgrade your ClamAV.

3 (edited by enriquedann 2016-10-23 09:53:34)

Re: libclamav error: mpool_malloc():

ZhangHuangbin wrote:

Please upgrade your ClamAV.

it doesn't work! any idea?

i can disable clamav ?the error is the same

4

Re: libclamav error: mpool_malloc():

enriquedann wrote:

it doesn't work!

Excuse me, what do you mean "it doesn't work"? Did you upgrade ClamAV? which version are you running?

enriquedann wrote:

i can disable clamav ?the error is the same

You can disable clamav by adding this setting in Amavisd config file:

@bypass_virus_checks_maps = (1);

5

Re: libclamav error: mpool_malloc():

ZhangHuangbin wrote:
enriquedann wrote:

it doesn't work!

Excuse me, what do you mean "it doesn't work"? Did you upgrade ClamAV? which version are you running?
i upgrade clamAV, the version is ClamAV 0.99.2

enriquedann wrote:

i can disable clamav ?the error is the same

You can disable clamav by adding this setting in Amavisd config file:

@bypass_virus_checks_maps = (1);

in my configuration /etc/amavis/conf.d/50-user
this is line
@bypass_virus_checks_maps = (
   \%bypass_virus_checks,
   \@bypass_virus_checks_acl,
   $bypass_virus_checks_re,
   );
comment this line?

6

Re: libclamav error: mpool_malloc():

Simply APPEND below this line to 50-user:

@bypass_virus_checks_maps = (1);

7

Re: libclamav error: mpool_malloc():

Hi,
the same happened to me on 22 October with clamav version 0.97.8.
Just disabled clamav as stated before, restart amavis in order to get clamav really disabled, upgrade to the latest version all clamav components (freshclam included), enable again clamav usage and restart amavis.
Worked for me.
Regards


ZhangHuangbin wrote:

Simply APPEND below this line to 50-user:

@bypass_virus_checks_maps = (1);