mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00

- It's derived from the magic database of libmagic 5.14, but with most everything not related to mime types removed. - The custom database is always used by default for mime detection, but the more verbose file type detection will fall back on the default libmagic installation's database. The result is: mime type strings are now guaranteed to be consistent across platforms, but the verbose file type descriptions are not. - The custom database gets installed in $prefix/share/bro/magic, and should even be extensible if files with new patterns are added inside the directory. - The search path for the mime magic database can be controlled via BROMAGIC environment variable. - Remove mime_desc field from ftp.log. - Stop using the mime/file type canonifier with unit tests. - libmagic >= 5.04 is now a requirement.
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
# See COPYING file in this directory for original libmagic copyright.
|
|
#------------------------------------------------------------------------------
|
|
# $File: mail.news,v 1.21 2012/06/21 01:44:52 christos Exp $
|
|
# mail.news: file(1) magic for mail and news
|
|
#
|
|
# Unfortunately, saved netnews also has From line added in some news software.
|
|
#0 string From mail text
|
|
0 string/t Relay-Version: old news text
|
|
!:mime message/rfc822
|
|
0 string/t #!\ rnews batched news text
|
|
!:mime message/rfc822
|
|
0 string/t N#!\ rnews mailed, batched news text
|
|
!:mime message/rfc822
|
|
0 string/t Forward\ to mail forwarding text
|
|
!:mime message/rfc822
|
|
0 string/t Pipe\ to mail piping text
|
|
!:mime message/rfc822
|
|
0 string/tc delivered-to: SMTP mail text
|
|
!:mime message/rfc822
|
|
0 string/tc return-path: SMTP mail text
|
|
!:mime message/rfc822
|
|
0 string/t Path: news text
|
|
!:mime message/news
|
|
0 string/t Xref: news text
|
|
!:mime message/news
|
|
0 string/t From: news or mail text
|
|
!:mime message/rfc822
|
|
0 string/t Article saved news text
|
|
!:mime message/news
|
|
0 string/t Received: RFC 822 mail text
|
|
!:mime message/rfc822
|
|
|
|
# TNEF files...
|
|
0 lelong 0x223E9F78 Transport Neutral Encapsulation Format
|
|
!:mime application/vnd.ms-tnef
|