Explain filename/filetype please

Steve Campbell campbell at cnpapers.com
Thu May 25 14:40:08 IST 2006


I had always figured I had a handle on the two filename/filetype rules conf 
files, but apparently, I don't. I need to block movie files, but they aren't 
being done as I thought they would. I see in 4.50, these were defaulted to 
'allow' in the filetype rule, but I have modified that conf file back to 
before 4.50 (actually never implemented the rpmnew file).

I need an explaination of the following please from the Changelog for 4.50:

Disabled movie format "deny" rules in filetype.rules.conf and have enabled
  filetype checking by default.

What does the 'checking by default' mean? I wasn't aware I could turn it off 
other than maybe a blank Conf option.

Am I correct in my way of thinking that "filename"  uses a RegExp type match 
and that "filetype" uses the result from the 'file' command?

Should I add extensions in the filename file for these as they are not, by 
default, there, just to cover all bases? Recommendations of filetype 
extensions would be appreciated here!

Thanks for any help in making the clouds disappear over my brain.


Steve Campbell
campbell at cnpapers.com
Charleston Newspapers




More information about the MailScanner mailing list