Andy wrote:

> On Wednesday 25 April 2007 18:57:52 Dave Augustus wrote:
>> Hello All,
>>
>> Is there something weird about Office 2007 Doc files? We allow doc files
>> according to company policy but we disallow zip files.
>>
>> Our logs had this entry:
>>
>> maillog:Apr 25 08:54:44 server1.example.com amavis[3926]: (03926-20)
>> Blocked  BANNED (P=p004,L=1,M=multipart/mixed |
>> P=p002,L=1/2,M=application/vnd.openxmlformats-
>> officedocument.wordprocessingml.document,T=zip,N=SPS382T.docx |
>> P=p005,L=1/2/1,T=xml,N=[Content_Types].xml) (8,0) , [65.54.246.147]
>> [65.55.152.123] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>   ,
>> Message-ID: <[EMAIL PROTECTED]>  , mail_id:
>> TnFgx8me0JdN , Hits: - , size: 132392 , smtp_resp: 554 5.7.0 Reject,
>> id=03926-20 - BANNED: P=p004,L=1,M=multipart/mixed |
>> P=p002,L=1/2,M=application/vnd.openxmlformats-officedocument.... ,
>> Subject: "Transcript & Format"  , 13250 ms
>>
>> Notice the:
>> T=zip
>>
>> But the mime-type is:
>> M=application/vnd.openxmlformats-
>> officedocument.wordprocessingml.document
>>
>> Is this a zipped file? Is this a standard Office 2007 feature?

> Yes, this is quite correct, nothing weird at all.

> Office 2007 allows the use of OpenOffice compatible documents, which are 
> effectively zipfiles with xml files installed. You can verify this by opening 
> the file with unzip.


Maybe you could place this just prior to the setting where zip is blocked:

 [ qr'.\.(docx)$'i => 0 ],    # allow

Gary V



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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