>> I have a serious problem with Amavis at the moment because Amavis holds
>> every e-mail larger than 0,1MB and puts it in a loop in
>> /var/lib/amavis/tmp
>>
>> I'm using Amavis+ClamAV+Maia. First of all I have changed the quota
>> setting in  the Maia-DB to -1 because at the first time Maia was
>> blocking
>> the e-mail icm with Amavis.
>
>> Jun 22 18:10:51 mail amavis[26878]: (26878-01) Charging 6200651 bytes to
>> remaining quota 100418 (out of 102400, (6057%)$
>> Jun 22 18:10:51 mail amavis[26878]: (26878-01) Exceeded storage quota
>> 102400 bytes by mime_decode; last chunk 6200651 b$
>
>> Where is the quota of 0,1MB set also ?
>
> The decoding quota is calculated from the original mail size and the
> following settings:
>   $MIN_EXPANSION_QUOTA
>   $MAX_EXPANSION_QUOTA
>   $MIN_EXPANSION_FACTOR
>   $MAX_EXPANSION_FACTOR
>
> according to the formula in amavisd.conf-sample:

Indeed this should do the trick. But it isn't actually.

> # For the cumulative total of all decoded mail parts we set max storage
> size
> # to defend against mail bombs. Even though parts may be deleted (replaced
> # by decoded text) during decoding, the size they occupied is _not_
> returned
> # to the quota pool.
> #
> # Parameters to storage quota formula for unpacking/decoding/decompressing
> #   Formula:
> #     quota = max($MIN_EXPANSION_QUOTA,
> #                 $mail_size*$MIN_EXPANSION_FACTOR,
> #                 min($MAX_EXPANSION_QUOTA,
> $mail_size*$MAX_EXPANSION_FACTOR))
> #   In plain words (later condition overrules previous ones):
> #     allow MAX_EXPANSION_FACTOR times initial mail size,
> #     but not more than MAX_EXPANSION_QUOTA,
> #     but not less than MIN_EXPANSION_FACTOR times initial mail size,
> #     but never less than MIN_EXPANSION_QUOTA
> #
> $MIN_EXPANSION_QUOTA =      100*1024;  # bytes  (default undef, not
> enforced)
> $MAX_EXPANSION_QUOTA = 300*1024*1024;  # bytes  (default undef, not
> enforced)
> $MIN_EXPANSION_FACTOR =   5;  # times original mail size  (default is 5)
> $MAX_EXPANSION_FACTOR = 500;  # times original mail size  (default is 500)
>

I ahve changed $MIN_EXPANSION_QUOTA to 10000*1024; for an example, and
when I want to send an e-amil with an attachment about 6MB I still have
the same problem.

Maybe I get the whole quota thing wrong here. Maybe someone can explane
what I do wrong in the settings ? Or how the settings are seen.



> Btw, recent version of amavisd-new no longer keep mail in MTA queue,
> but flag it as undecodable and pass it on, defanged.


I use the version on Debian Sarge. I have to look for the version that it
has in it using apt-get for installing.

>   Mark
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to