mail.news 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #------------------------------------------------------------------------------
  2. # $File: mail.news,v 1.28 2021/09/11 19:20:15 christos 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/tc delivered-to: SMTP mail text
  18. !:mime message/rfc822
  19. 0 string/tc 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 Date: news or mail text
  28. !:mime message/rfc822
  29. 0 string/t Article saved news text
  30. !:mime message/news
  31. # Reference: http://quimby.gnus.org/notes/BABYL
  32. # Update: Joerg Jenderek
  33. # Note: used by Rmail in Emacs version 22 and before
  34. # is not text because of characters like Control-L Control-_
  35. 0 string/b BABYL\ OPTIONS: Emacs RMAIL
  36. #0 string/t BABYL Emacs RMAIL text
  37. # https://reposcope.com/mimetype/message/x-gnu-rmail
  38. !:mime message/x-gnu-rmail
  39. # ~/RMAIL
  40. !:ext /
  41. 0 string/t Received: RFC 822 mail text
  42. !:mime message/rfc822
  43. 0 string/t MIME-Version: MIME entity text
  44. #0 string/t Content- MIME entity text
  45. # TNEF files...
  46. 0 lelong 0x223E9F78 Transport Neutral Encapsulation Format
  47. !:mime application/vnd.ms-tnef
  48. # From: Kevin Sullivan <ksulliva@psc.edu>
  49. 0 string *mbx* MBX mail folder
  50. # From: Simon Matter <simon.matter@invoca.ch>
  51. 0 string \241\002\213\015skiplist\ file\0\0\0 Cyrus skiplist DB
  52. 0 string \241\002\213\015twoskip\ file\0\0\0\0 Cyrus twoskip DB
  53. # JAM(mbp) Fidonet message area databases
  54. # JHR file
  55. 0 string JAM\0 JAM message area header file
  56. >12 leshort >0 (%d messages)
  57. # Squish Fidonet message area databases
  58. # SQD file (requires at least one message in the area)
  59. # XXX: Weak magic
  60. #256 leshort 0xAFAE4453 Squish message area data file
  61. #>4 leshort >0 (%d messages)
  62. #0 string \<!--\ MHonArc text/html; x-type=mhonarc
  63. # Cyrus: file(1) magic for compiled Cyrus sieve scripts
  64. # URL: https://www.cyrusimap.org/docs/cyrus-imapd/2.4.6/internal/bytecode.php
  65. # URL: http://git.cyrusimap.org/cyrus-imapd/tree/sieve/bytecode.h?h=master
  66. # From: Philipp Hahn <hahn@univention.de>
  67. # Compiled Cyrus sieve script
  68. 0 string CyrSBytecode Cyrus sieve bytecode data,
  69. >12 belong =1 version 1, big-endian
  70. >12 lelong =1 version 1, little-endian
  71. >12 belong x version %d, network-endian
  72. # Dovecot mail server, version 2.2 and later.
  73. # Dovecot mailing list: dovecot@dovecot.org
  74. # File format spec: https://wiki.dovecot.org/Design/Dcrypt/#File_format
  75. # From: Stephen Gildea
  76. 0 string CRYPTED\003\007 Dovecot encrypted message
  77. >9 byte x \b, dcrypt version %d