banned file types

Deeztek Support support at deeztek.com
Tue Oct 21 19:08:13 CEST 2014


>
> ... a somewhat complex example since the file(1) output covers
> multiple file types.
>
>

Awesome.

Just curious, why wouldn't amavis not use the file(1) utility with the 
-i switch that way you would get output like the following?

application/vnd.ms-excel  --> excel file
application/x-rar  --> rar file
application/octet-stream  --> exe file

etc etc.

Maybe it would be a monumental task maintaining every possible type in 
the map_full_type_to_short_type_re or another reason?





More information about the amavis-users mailing list