List Info

Thread: Office 2007 files are T=zip ?




Office 2007 files are T=zip ?
country flaguser name
United States
2007-04-25 10:57:52
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.doc
x |
P=p005,L=1/2/1,T=xml,N=[Content_Types].xml) (8,0) ,
[65.54.246.147]
[65.55.152.123] <joeuserhotmail.com> ->
<joeuserexample.com>   ,
Message-ID: <BAY141-F229AC3FA6B35C904410188A6490phx.gbl>  , 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?

Thanks mucho for a great product.

Dave


------------------------------------------------------------
-------------
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://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Office 2007 files are T=zip ?
country flaguser name
Finland
2007-04-25 11:30:51
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.doc
x |
> P=p005,L=1/2/1,T=xml,N=[Content_Types].xml) (8,0) ,
[65.54.246.147]
> [65.55.152.123] <joeuserhotmail.com> ->
<joeuserexample.com>   ,
> Message-ID: <BAY141-F229AC3FA6B35C904410188A6490phx.gbl>  , 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.

-- 
Andy Fawcett                                     | andyathame.co.uk
                                                 | tapkde.org
"In an open world without walls and fences,      |
taplspace.org
  we wouldn't need Windows and Gates."  -- anon  |
tapfruitsalad.org

------------------------------------------------------------
-------------
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://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Office 2007 files are T=zip ?
country flaguser name
United States
2007-04-25 11:47:59
OK, so is there a way to make an exception for certain
mime-types there
by we can stay within our policy of allowing doc files but
not zips?

On Wed, 2007-04-25 at 19:30 +0300, Andy Fawcett 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.doc
x |
> > P=p005,L=1/2/1,T=xml,N=[Content_Types].xml) (8,0)
, [65.54.246.147]
> > [65.55.152.123] <joeuserhotmail.com> ->
<joeuserexample.com>   ,
> > Message-ID:
<BAY141-F229AC3FA6B35C904410188A6490phx.gbl>  , 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.
> 


------------------------------------------------------------
-------------
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://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Office 2007 files are T=zip ?
country flaguser name
United States
2007-04-25 11:48:16
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.doc
x |
>> P=p005,L=1/2/1,T=xml,N=[Content_Types].xml) (8,0) ,
[65.54.246.147]
>> [65.55.152.123] <joeuserhotmail.com> ->
<joeuserexample.com>   ,
>> Message-ID:
<BAY141-F229AC3FA6B35C904410188A6490phx.gbl>  , 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://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Office 2007 files are T=zip ?
country flaguser name
United States
2007-04-25 12:12:01
Dave wrote:

> OK, so is there a way to make an exception for certain
mime-types there
> by we can stay within our policy of allowing doc files
but not zips?

>> > But the mime-type is:
>> > M=application/vnd.openxmlformats-
>> > officedocument.wordprocessingml.document

I think that might look like:

[
qr'^application/vnd.openxmlformats-officedocument.wordproces
singml.document$'i => 0 ],

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://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )