On 2013-09-05 01:15, Mark Martinec via amavis-users wrote: > Alex, > >> Does anyone know if my suggestion to modify the $banned_filename_re >> will work? Mark? :-) >> >> $banned_filename_re = new_RE( >> [ qr'^\[trash\]/0001\.dat$' => 0 ], >> .... >> ); > Yes, I think it would work, > but I'd have to try it on your document to make sure. > > Better just get the file utility fixed (i.e. its magic database). > > > Alexander Wirt wrote: >> See http://bugs.gw.com/view.php?id=277 > Great, thanks for bring it to the right forum. > > Mark
Running latest file, will not return ARCHIVE and amavis will not extract it and .dat or .dat (catche-all) will not trigger, so update file and your magics. thats how i solved it. eg: file ./test1.docx ./test1.docx: Microsoft Word 2007+
signature.asc
Description: OpenPGP digital signature
