Upgrade to file-5.03.
[dragonfly.git] / contrib / file / magic / Magdir / mail.news
1 #------------------------------------------------------------------------------
2 # mail.news:  file(1) magic for mail and news
3 #
4 # Unfortunately, saved netnews also has From line added in some news software.
5 #0      string          From            mail text
6 # There are tests to ascmagic.c to cope with mail and news.
7 0       string          Relay-Version:  old news text
8 !:mime  message/rfc822
9 0       string          #!\ rnews       batched news text
10 !:mime  message/rfc822
11 0       string          N#!\ rnews      mailed, batched news text
12 !:mime  message/rfc822
13 0       string          Forward\ to     mail forwarding text
14 !:mime  message/rfc822
15 0       string          Pipe\ to        mail piping text
16 !:mime  message/rfc822
17 0       string          Return-Path:    smtp mail text
18 !:mime  message/rfc822
19 0       string          Path:           news text
20 !:mime  message/news
21 0       string          Xref:           news text
22 !:mime  message/news
23 0       string          From:           news or mail text
24 !:mime  message/rfc822
25 0       string          Article         saved news text
26 !:mime  message/news
27 0       string          BABYL           Emacs RMAIL text
28 0       string          Received:       RFC 822 mail text
29 !:mime  message/rfc822
30 0       string          MIME-Version:   MIME entity text
31 #0      string          Content-        MIME entity text
32
33 # TNEF files...
34 0       lelong          0x223E9F78      Transport Neutral Encapsulation Format
35
36 # From: Kevin Sullivan <ksulliva@psc.edu>
37 0       string          *mbx*           MBX mail folder
38
39 # From: Simon Matter <simon.matter@invoca.ch>
40 0       string          \241\002\213\015skiplist\ file\0\0\0    Cyrus skiplist DB
41
42 # JAM(mbp) Fidonet message area databases
43 # JHR file
44 0       string  JAM\0                   JAM message area header file
45 >12     leshort >0                      (%d messages)
46
47 # Squish Fidonet message area databases
48 # SQD file (requires at least one message in the area)
49 # XXX: Weak magic
50 #256    leshort 0xAFAE4453              Squish message area data file
51 #>4     leshort >0                      (%d messages)
52
53 #0      string          \<!--\ MHonArc          text/html; x-type=mhonarc