No programs allowed

Julian Field MailScanner at ecs.soton.ac.uk
Tue Feb 12 16:19:01 GMT 2008


Oh, here's the comment from the latest ChangeLog which tells you a bit 
about the new "file -i" feature:

3 Implemented file MIME type checking, as reported by the "file -i" command.
  This includees 3 new settings, which all work just like their non-MIME
  brothers: "Log Permitted File MIME Types", "Allow File MIME Types" and 
"Deny
  File MIME Types".
  The main use is via the filetype.rules.conf file, where a new optional 
field
  may be added just after the regular expression field (just after the 2nd
  field in each line). If this field is added, then the "file -i" command is
  run on every batch of messages and the output checked against the MIME 
types
  specified in the newly inserted 3rd field (out of fields 1-5 on each 
line of
  filetype.rules.conf files).

AlxFrag wrote:
> --[ UxBoD ]-- wrote:
>> Okay, could you do the same thing with file -i please ?
>>
>> Regards,
>>
>>   
> Thanks for your support :)
>
> file -i gives:
>
> message: message/rfc822
>
> msg-5716-14.txt: text/plain; charset=utf-8
>

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list