Thank you very much! It is works when I change the order! Thanks a lot!
-----Original Message----- From: MrC [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 3:45 PM To: 上海ロココ 許 Cc: [email protected] Subject: Re: [AMaViS-user] Large attachment compressed file can not sent 上海ロココ 許 wrote: > Thank you very much! > I add [EMAIL PROTECTED], [EMAIL PROTECTED] in > virtual mailbox tables ,then problem resolved. > > In amavisd.conf I set [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], > # allow any within these archives > But when send whit .exe file in RAR attachment, It also blocked. > What can I do for allow .exe file witnin RAR or zip archives ? > The order in which the mappings appear in the table is important, as the first match wins. Where is this entry relative to the entries that block .exe. Eg: these two definitions produce different results: Correct: $banned_filename_re = new_RE( [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], # allow within archives qr'.\.(exe|vbs|pif|scr|cpl)$'i, # banned extension - basic ); Incorrect: $banned_filename_re = new_RE( qr'.\.(exe|vbs|pif|scr|cpl)$'i, # banned extension - basic [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], # allow within archives }; The first should do what you want, while the second will not. If this isn't clear, show your $banned_filename_re map. MrC ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/
