MrC escreveu:
> Leonardo Rodrigues Magalhães wrote:
>   
>>     Hello,
>>
>>     I have banned some file/MIME types in amavisd-2.6.0 using the 'old' 
>> way of doing this, the $banned_filename_re.
>>
>>     The banned file admin and user notifications, which i enabled, 
>> brings me something like:
>>
>> Banned name: multipart/mixed | application/vnd.ms-powerpoint,.doc,Chaplin.pps
>> Content type: Banned
>> Internal reference code for the message is 24067-22/NWynDBsexbaI
>>
>>
>>     It's clearly a powerpoint file, because of it's extension (.pps) as 
>> well as it's mime type 'application/vnd.ms-powerpoint'.
>>
>>     What i'm trying to understand is where that '.doc' cames from !!!
>>
>>     
>
> What type of document does the file(1) utility indicate?
> What version of file is on your system?
>   

    I'm running on a Fedora 8 system, with:

[EMAIL PROTECTED] ~]# rpm -qi file
Name        : file                         Relocations: (not relocatable)
Version     : 4.21                              Vendor: Fedora Project
Release     : 5.fc8                         Build Date: Tue 29 Jan 2008 
06:58:26 AM BRST

    which is the latest file package from F8 repositories.

    on this system, file returns for .doc and .ppt documents:

[EMAIL PROTECTED] user]# file Defesa.doc
Defesa.doc: Microsoft Office Document
[EMAIL PROTECTED] user]# file Projeto\ Final\ II\ VPN\ -\ última.ppt
Projeto Final II VPN - última.ppt: Microsoft Office Document
[EMAIL PROTECTED] user]#

    hmmmmm ...... seems file returns only 'Microsoft Office Document' .....

-- 


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [EMAIL PROTECTED]
        My SPAMTRAP, do not email it





-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
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