News About Features Documentation FAQ ChangeLog Mailinglist Download GIT Screenshots RRDtool MRTG WebQ Logwatch Reporter Latest stable: 2.0.2-1 Latest devel: 2.0.3-0.beta5 |
file_type() Realscanner, which scans type of a file. A scanner to chcek content of a file for a special type (like zip, ...). Usage: file_type({'type': 'vir', ...}) Where 'type' is a name of type returned by filetype.* function 'vir' is a vir name returned, if file type is matched Example: # scan for executables (COM, EXE, PIF and similiar types) parsemail(file_type({'exe': 'MS Executable', 'elf': 'Linux Executable'})) Obsolete since 1.1.1, use file_magic() instead. |