Hi, I was wondering exactly what this syntax means in tika-mimetypes.xml

<mime-type type="message/rfc822">
  <magic priority="50">
    <match value="Status:" type="string" offset="0"/>
    …
      <match value="Message-ID:" type="string" offset="0:8192"/>
    </match>
  </magic>
  ...

</mime-type>

Does offset="0:8192" mean match 'Message-ID:' anywhere in the first 8192 bytes? 
 If so, I'm not sure it is working properly as I have some eml files with this 
string near the beginning (but not at byte offset 0) where it does not match.  
Is there some other logic involved which I am missing?

Thanks,

Chris


Chris Bamford
Lead Software Engineer

CityPoint, One Ropemaker Street, 
London,
EC2Y 9AW.

mobile +44 7860 405292
tel: +44 (0) 207 847 8700
web www.mimecast.com


The information contained in this communication from [email protected] is 
confidential and may be legally privileged. It is intended solely for use by 
[email protected] and others authorized to receive it. If you are not 
[email protected] you are hereby notified that any disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful.


Mimecast Ltd. is a company registered in England and Wales with the company 
number 4698693 VAT No. GB 832 5179 29
Registered Office: CityPoint, One Ropemaker Street, Moorgate, London, EC2Y 9AW 
Email Address: [email protected]

This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based 
platform.
For more information please visit http://www.mimecast.com

Reply via email to