filtering file types vs. extensions

Ryan Bingham ryanb at aacrao.org
Sun Jun 22 23:21:25 IST 2003


On Fri, 2003-06-06 at 14:16, Julian Field wrote:

> Not a good start.
> The latest File::MMagic module does not understand Linux /usr/share/magic
> files. It complains a lot about them, which makes it useless.
> So I will have to use the "file" command, with a timeout and all that c**p
> to stop DoS attacks on the file command.
>
> Does everyone's "file" command output the filename followed by a ":"
> followed by 1 or more spaces followed by the file type?

Hi Julian,

Just wondered how this ended up going.  Did it prove more trouble than
it's worth?

Ryan



More information about the MailScanner mailing list