Koozali.org: home of the SME Server

ClamAV is blocking e-mail over approx. 12 MB

Vendelbo

ClamAV is blocking e-mail over approx. 12 MB
« on: August 11, 2004, 10:31:05 PM »
Hi all,

When I enable the ClamAV from sme.swerts-knudsen.dk all e-mails sent over 12 MB are getting blocked.

Does anybody know why - and maybe what I can do. I'm not an experiensed linux user, which also was the reason I chose the SME server...


Hope you can help...

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
ClamAV is blocking e-mail over approx. 12 MB
« Reply #1 on: August 12, 2004, 09:29:39 AM »
hello,

It's an option in /etc/clamav.conf file
ArchiveMaxFileSize

regards.

Garfield

ClamAV is blocking e-mail over approx. 12 MB
« Reply #2 on: August 21, 2004, 12:38:53 AM »
Hi,

Is that really the solution ?
In /etc/clamd.conf it reads the following:

Quote
# Files in archives larger than this limit won't be scanned.
# Value of 0 disables the limit.
# WARNING: Due to the unrarlib implementation, whole files (one by one) in RAR
#          archives are decompressed to the memory. That's why never disable
#          this limit (but you may increase it of course!)
ArchiveMaxFileSize 10M


So if I understand this correctly this shouldn't be the reason large e-mails get blocked ?

I am asking because I need to be able to receive much larger e-mails. Haven't tried yet, but I started searching and stumbled upon this thread.

So:

1. Is the size of e-mails limited by some configuration ?
2. If so, where ?

Vendelbo

ClamAV is blocking e-mail over approx. 12 MB
« Reply #3 on: August 29, 2004, 08:08:56 PM »
Garfield is right about this matter.

The file you need to configure is:

/etc/amavis-ng/amavis.conf

Garfield

ClamAV is blocking e-mail over approx. 12 MB
« Reply #4 on: August 29, 2004, 08:38:51 PM »
Hi,

Do you mean this setting:

maxspace = 30M

as it appears in my /etc/amavis-ng/amavis.conf ?

GetRighT

ClamAV is blocking e-mail over approx. 12 MB
« Reply #5 on: August 29, 2004, 08:57:59 PM »
Quote from: "Garfield"
Hi,

Do you mean this setting:

maxspace = 30M

as it appears in my /etc/amavis-ng/amavis.conf ?


yep... Had the same issue - raised it and problem solved... has to do with unpacking the email.