On Wed, 2009-11-25 at 13:04 +0100, Richard Smits wrote: > Hi, > > We have a problem that some attachments are being blocked as banned by > our amavis. The extension that is in the zip file is : .mexw32 > > This is a file that matlab uses. (don't know the details) > > Amavisd and linux see this file as a dll. dll is being blocked, so that > is correct. > > -------------------- > file file1.mexw32 > > file1.mexw32: PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit > -------------------- > > Is there a way to allow this specific file ? (maybe just on extension > name ?)
You need to allow those extensions inside the zip file. It appears that you need to use banned_namepath_re to do this, but I have yet to unravel the secrets of that regex. If I could, I'd use it to allow .emf and .wmf only in .docx files (and ban them in other archives or standalone) -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX www.austinenergy.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/