filtering file types vs. extensions

Mariano Absatz mailscanner at LISTS.COM.AR
Fri Jun 6 16:44:32 IST 2003


Seems like File::MMagic... isn't CPAN great?
http://search.cpan.org/author/KNOK/File-MMagic-1.19/


El 6 Jun 2003 a las 16:38, Spicer, Kevin escribió:

> There is a perl module that does that too.  Can't remember what its called offhand - but I do remember its named fairly obviously (the word magic is in there somewhere!)
> 
> > -----Original Message-----
> > From: Mariano Absatz [mailto:mailscanner at LISTS.COM.AR]
> > Sent: 06 June 2003 16:35
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: filtering file types vs. extensions
> > 
> > 
> > That should be possible using the magic file and the logic 
> > that the file 
> > command uses (with that same file).
> > 
> > See:
> > man magic
> > man file
> > 
> > 
> > El 6 Jun 2003 a las 11:29, Bingham, Ryan escribió:
> > 
> > > Hi Julian,
> > > 
> > > This is just a feature question.  Some of the commercial products
> > > (Sybari's Antigen for Exchange comes to mind) that (try to) do what
> > > MailScanner does have the ability to discern the file type 
> > even if the
> > > extension does not match (e.g. spot a Windows executable 
> > file even if it
> > > doesn't have an .exe extension).
> > > 
> > > Is this something that would ever be possible with MailScanner?
> > > 
> > > Thanks again for an awesome program!!
> > > 
> > > Ryan
> > 
> > 
> > --
> > Mariano Absatz
> > El Baby
> > ----------------------------------------------------------
> > It is now proved beyond doubt that smoking is one
> > of the leading causes of statistics.
> >         -- Fletcher Knebel
> > 
> 
> 
> 
> BMRB International 
> http://www.bmrb.co.uk
> +44 (0)20 8566 5000
> _________________________________________________________________
> This message (and any attachment) is intended only for the 
> recipient and may contain confidential and/or privileged 
> material.  If you have received this in error, please contact the 
> sender and delete this message immediately.  Disclosure, copying 
> or other action taken in respect of this email or in 
> reliance on it is prohibited.  BMRB International Limited 
> accepts no liability in relation to any personal emails, or 
> content of any email which does not directly relate to our 
> business.


--
Mariano Absatz
El Baby
----------------------------------------------------------
I've never met a human being who would want to read 17,000 pages
of documentation, and if there was, I'd kill him to get him out
of the gene pool.
                   -- Joseph Costello, President of Cadence




More information about the MailScanner mailing list