mail.news 2.2 KB

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