Re: [AMaViS-user] Someone missed a virus..

This is a discussion on Re: [AMaViS-user] Someone missed a virus.. within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; At 06:29 PM 6/15/2007, Michael Scheidell wrote: >Noel Jones wrote: >>Eh??? Sure enough, file(...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-16-2007
Noel Jones
 
Posts: n/a
Default Re: [AMaViS-user] Someone missed a virus..

At 06:29 PM 6/15/2007, Michael Scheidell wrote:
>Noel Jones wrote:
>>Eh??? Sure enough, file(1) reports all .doc files I tested (even
>>without embedded stuff) as "Microsoft Installer".

>for me, I see all doc files as... well, doc files. (these are the
>two test cases I linked to earlier)
>Noel: can you check these two files?
>is this REALLY a word document? (the original WAS a real word
>document), with an embedded 'package'.
>
>file -i Proforma_Invoice.doc
>Proforma_Invoice.doc: application/msword


IIRC, amavisd-new does not use the -i flag on file(1). I believe it
calls file with no flags and parses the returned text.

# file *doc
this is a openvpn gui.doc: Microsoft Installer

# file -i *doc
this is a openvpn gui.doc: application/msword

Apply my little patch to sbin/amavisd and try again... That was what
fixed it for me.

--
Noel Jones


-------------------------------------------------------------------------
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/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0