I looked over the settings, their are default. Postfix,
maia, amavisd,
spamassassin. Still the same issue. A 15mb email will crash.
:(
Robert LeBlanc wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Placid Publishing, LLC wrote:
>
>
>> They sent me a large email full of attachments
(large images). My
>> maia-mailguard limit is set to reject emails over
12.5mb. Anyway, it was
>> somehow accepted and scanned. Spamassasin skipped
the scanning and
>> clamav attempted to scan the images but it just
hangs and them dies. It
>> exhausts the freebsd per process memory limit which
is 512mb. This is
>> ridiculous for a 5 person email server with 4gb of
ram and a strong
>> process. I had another person send me a 9mb mp3
file just for kicks and
>> the same thing happened.
>>
>
> See this FAQ entry: <
http://www.maiamailguard.com/maia/wiki/SizeLimit>
>
> Most likely you haven't set one or more of the four
different size
> limits properly, or the relationship between your size
limits is not
> giving you the result you're after. The FAQ entry
above explains how to
> set all of these.
>
> If you want to reject oversized items, the best place
to do that is at
> your upstream MTA (postfix), which can shield the more
> resource-intensive processes like Maia from items too
big to handle
> effectively.
>
> The reason spam filters are so resource-hungry is that
they're string
> processors--they load the entire mail contents into
memory in order to
> do things like run regular expression tests on it,
unpack attachments
> for scanning, and optionally encrypt the contents. All
of this
> multiplies the size of the mail numerous times as
subroutines pass
> around copies of the contents in memory (it's not
always possible to
> pass-by-reference, particularly with transformational
functions like
> encryption/decryption). As such, you want to do as
much shielding as
> possible upstream from amavisd-maia to avoid choking
it.
>
> - --
> Robert LeBlanc <rjl renaissoft.com>
> Renaissoft, Inc.
> Maia Mailguard <http://www.maiamail
guard.com/>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
>
iD8DBQFGNX9uGmqOER2NHewRAh3fAJsEVzJxzfQBgkRcS+vUv3qnRTI4AACe
K3gY
> 82DR7lGp4d1hzXPhUuVMPoA=
> =6cbS
> -----END PGP SIGNATURE-----
> _______________________________________________
> Maia-users mailing list
> Maia-users renaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|