Problem with specific mail

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Mon Aug 20 11:46:31 CEST 2012


* Grooz, Marc (regio iT) <Marc.Grooz at regioit.de>:
> Hi ,
> 
> One Email won't go thru my amavis-proxy. This is the error message
> 
> Aug 20 10:42:35 amavis[17227]: (17227-16) loaded policy bank "MYNETS" over "EXT"
> Aug 20 10:42:35 amavis[17227]: (17227-16) ESMTP::10026 /var/spool/amavis/tmp/amavis-20120820T103803-17227-DhmH8v_X: <maila> -> <mailb> SIZE=802386 BODY=8BITMIME RET=HDRS ENVID= Received: from ([]) by localhost () (amavisd-new, port 10026) with ESMTP for <mailb>; Mon, 20 Aug 2012 10:42:35 +0200 (CEST)
> Aug 20 10:42:37 amavis[17227]: (17227-16) Checking: BPxFHPMgV4Fc EXT/MYNETS [172.16.1.216] <maila> -> <mailb>
> Aug 20 10:42:37 amavis[17227]: (17227-16) p003 1 Content-Type: multipart/mixed
> Aug 20 10:42:37 amavis[17227]: (17227-16) p001 1/1 Content-Type: text/plain, size: 3740 B, name:
> Aug 20 10:42:37 amavis[17227]: (17227-16) p002 1/2 Content-Type: application/x-zip-compressed, size: 582346 B, name: name.zip
> Aug 20 10:42:37 amavis[17227]: (17227-16) (!)Exceeded storage quota 5242880 bytes by do_unzip; last chunk 330619 bytes
> Aug 20 10:42:37 amavis[17227]: (17227-16) Decoding of p002 (Zip archive data, at least v2.0 to extract Zip archive data, at least v2.0 to extract) failed, leaving it unpacked: Exceeded storage quota 5242880 bytes by do_unzip; last chunk 330619 bytes
> Aug 20 10:42:37 amavis[17227]: (17227-16) NOTICE: Virus scanning skipped: Exceeded storage quota 5242880 bytes by do_unzip; last chunk 330619 bytes
> Aug 20 10:42:37 amavis[17227]: (17227-16) (!)NOTICE: HOLD reason: Exceeded storage quota 5242880 bytes by do_unzip; last chunk 330619 bytes

The mail contains an archive which amavis tries to unzip
While doing this, amavis exceeds the limits imposed by one of those
(MAX_EXPANSION_QUOTA I'd guess)

$MAXLEVELS = 30;
$MAXFILES = 6000;
$MIN_EXPANSION_QUOTA =      100*1024;  # bytes  (default undef, not enforced)
$MAX_EXPANSION_QUOTA = 200*1024*1024;  # bytes  (default undef, not enforced)

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the amavis-users mailing list