Hi, I'm trying to tell amavisd-new 2.6.4 to put messages containing an unchecked part into the banned quarantine. The idea is that these messages should not be passed on to the recipient, but that an administrator has to check them first. This is already done for the banned-quarantine so it would be convenient to just handle these messages the same way.
This is what I added to the config: $final_destiny_by_ccat{+CC_UNCHECKED} = D_DISCARD; $quarantine_to_maps_by_ccat{+CC_UNCHECKED} = ['banned-quarantine']; The first part is working: the messages are not passed on. But they do not show up in the quarantine. This is some log output when provoking an unchecked part with a very low $MAXLEVELS: (30509-01) LMTP::10024 /var/spool/vscan/amavis/amavis-20100204T170816-30509: <ad...@x> -> <gu...@y> SIZE=25641 Received: from x ([127.0.0.1]) by localhost (x [127.0.0.1]) (amavisd-new, port 10024) with LMTP for <gu...@y>; Thu, 4 Feb 2010 17:08:16 +0100 (CET) (30509-01) body hash: 2e75bf16e9285e45fa43aac728f1577b (30509-01) client IP address unknown, fetching from Received: 192.168.122.1 (30509-01) Checking: JltCZwKRmKQ1 [192.168.122.1] <ad...@x> -> <gu...@y> (30509-01) 2822.From: <ad...@x> (30509-01) p003 1 Content-Type: multipart/mixed (30509-01) p001 1/1 Content-Type: text/plain, size: 8 B, name: (30509-01) p002 1/2 Content-Type: application/x-bzip, size: 17966 B, name: muell.tar.bz2 (30509-01) Checking for banned types and filenames (30509-01) collect banned table[0]: gu...@y, tables: (30509-01) p.path gu...@y: "P=p003,L=1,M=multipart/mixed | P=p001,L=1/1,M=text/plain,T=asc" (30509-01) p.path gu...@y: "P=p003,L=1,M=multipart/mixed | P=p002,L=1/2,M=application/x-bzip,T=bz2,N=muell.tar.bz2 | P=p004,L=1/2/1,T=tar,N=muell.tar | P=p005,L=1/2/1/1,N=muell.zip" (30509-01) NOTICE: Virus scanning skipped: Maximum decoding depth (2) exceeded (30509-01) blocking contents category is (7) for gu...@y (30509-01) do_notify_and_quar: ccat=Unchecked (7,0) ("7":Unchecked, "1,1":CleanTag, "1":Clean, "0":CatchAll) ccat_block=(7), qar_mth= (30509-01) (!)NOTICE: HOLD reason: Maximum decoding depth (2) exceeded (30509-01) Blocked UNCHECKED, [192.168.122.1] [192.168.122.1] <ad...@x> -> <gu...@y>, Message-ID: <4b6af0f0.4090...@x>, mail_id: JltCZwKRmKQ1, Hits: -, size: 25641, 489 ms (30509-01) LMTP response for <gu...@y>: "250 2.7.0 Ok, discarded, id=30509-01 - UNCHECKED" Am I missing something to make this work? Thanks for your help. Kind regards, Gerd -- Address (better: trap) for people I really don't want to get mail from: jo...@cactusamerica.com ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ 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/