> This extra settings are also not changing anything. I have searched > everything like expansion_quota, 100*1024, 100 * 1024, and so on with GREP > but no extra variables can be found. > > What I can try is to change /usr/sbin/amavisd and change here the > min_expansion_quota in direct values.
I have no idea how your 100 kB of expansion quota got calculated. The relevant code section in amavisd-new hasn't changed much in two years: amavisd-new-20030616-p10: $avail_quota = $rem_quota = # quota in bytes max($MIN_EXPANSION_QUOTA, $mail_size*$MIN_EXPANSION_FACTOR, min($MAX_EXPANSION_QUOTA, $mail_size*$MAX_EXPANSION_FACTOR)); do_log(4, "Original mail size: $mail_size; quota set to: $avail_quota bytes"); amavisd-2.3.1-pre3: $avail_quota = $rem_quota = # quota in bytes max($MIN_EXPANSION_QUOTA, $mail_size * $MIN_EXPANSION_FACTOR, min($MAX_EXPANSION_QUOTA, $mail_size * $MAX_EXPANSION_FACTOR)); do_log(4,"Original mail size: $mail_size; quota set to: $avail_quota bytes"); I would expect this code section figures in Maia's patched version of amavisd as well. Try to locate it, and perhaps insert some additional calls to do_log (following the example), to log all variables that play in the formula. 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 AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/