McDonald, Dan wrote the following on 12.02.2010 16:27:
> On 2/12/10 1:10 AM, "Tobias Reckhard" <tobias.reckh...@secunet.com> wrote:
>> The Office 2007 formats are at it again, getting rejected by amavisd-new
>> (2.6.1 on Debian, if it matters). It appears that most, if not all Word
>> 2007 docx files contain a file docProps/thumbnail.wmf, which is rejected
>> by amavisd-new due to it being a WMF file (d'oh).
>>
>> Now, I wouldn't want to allow all WMFs in all ZIPs, but instead only the
>> mentioned file in docx ZIPs. Any ideas on how I might implement that?
> 
> I know it needs to be done using $banned_namepath_re, but I've never been
> able to figure out the syntax or find a good example to work from.

Precisely the reason for my question, my regex capacities aren't up to
snuff here..

Cheers,
Tobias


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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/ 

Reply via email to