Wilson, > How to configure amavisd do not allow receive zip attached file? > > I tried to uncomment [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], > in amavisd.conf, but it still can receive any zip attached file. > > Amavisd-new version: 2.5.4-1.el4.rf
The above rule explicitly ALLOWS a zip file and everything in it (semantics: to block a .zip? => false, don't block, let it pass, and don't look any further). You probably want just the opposite, so either a: [ qr'^\.zip$' => 1 ], or equivalent but simpler: qr'^\.zip$', Mark ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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/