mail.news 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #------------------------------------------------------------------------------
  2. # $File: mail.news,v 1.20 2011/12/08 12:12:46 rrt Exp $
  3. # mail.news: file(1) magic for mail and news
  4. #
  5. # Unfortunately, saved netnews also has From line added in some news software.
  6. #0 string From mail text
  7. 0 string/t Relay-Version: old news text
  8. !:mime message/rfc822
  9. 0 string/t #!\ rnews batched news text
  10. !:mime message/rfc822
  11. 0 string/t N#!\ rnews mailed, batched news text
  12. !:mime message/rfc822
  13. 0 string/t Forward\ to mail forwarding text
  14. !:mime message/rfc822
  15. 0 string/t Pipe\ to mail piping text
  16. !:mime message/rfc822
  17. 0 string/t Delivered-To: SMTP mail text
  18. !:mime message/rfc822
  19. 0 string/t Return-Path: SMTP mail text
  20. !:mime message/rfc822
  21. 0 string/t Path: news text
  22. !:mime message/news
  23. 0 string/t Xref: news text
  24. !:mime message/news
  25. 0 string/t From: news or mail text
  26. !:mime message/rfc822
  27. 0 string/t Article saved news text
  28. !:mime message/news
  29. 0 string/t BABYL Emacs RMAIL text
  30. 0 string/t Received: RFC 822 mail text
  31. !:mime message/rfc822
  32. 0 string/t MIME-Version: MIME entity text
  33. #0 string/t Content- MIME entity text
  34. # TNEF files...
  35. 0 lelong 0x223E9F78 Transport Neutral Encapsulation Format
  36. # From: Kevin Sullivan <ksulliva@psc.edu>
  37. 0 string *mbx* MBX mail folder
  38. # From: Simon Matter <simon.matter@invoca.ch>
  39. 0 string \241\002\213\015skiplist\ file\0\0\0 Cyrus skiplist DB
  40. # JAM(mbp) Fidonet message area databases
  41. # JHR file
  42. 0 string JAM\0 JAM message area header file
  43. >12 leshort >0 (%d messages)
  44. # Squish Fidonet message area databases
  45. # SQD file (requires at least one message in the area)
  46. # XXX: Weak magic
  47. #256 leshort 0xAFAE4453 Squish message area data file
  48. #>4 leshort >0 (%d messages)
  49. #0 string \<!--\ MHonArc text/html; x-type=mhonarc
  50. # Cyrus: file(1) magic for compiled Cyrus sieve scripts
  51. # URL: http://www.cyrusimap.org/docs/cyrus-imapd/2.4.6/internal/bytecode.php
  52. # URL: http://git.cyrusimap.org/cyrus-imapd/tree/sieve/bytecode.h?h=master
  53. # From: Philipp Hahn <hahn@univention.de>
  54. # Compiled Cyrus sieve script
  55. 0 string CyrSBytecode Cyrus sieve bytecode data,
  56. >12 belong =1 version 1, big-endian
  57. >12 lelong =1 version 1, little-endian
  58. >12 belong x version %d, network-endian