{"success":true,"data":{"ext":"emlx","name":"EMLX","description":"EMLX is an email message file format used by Apple Mail, created and maintained by Apple for macOS. It stores individual messages, including headers and body content, and is used for archiving, migration, and local mailbox storage within Mail and related Apple tools. The format is generally safe, though messages may contain attachments, embedded links, or other active content inherited from email, so untrusted files should be handled cautiously.","mime":["message/x-emlx"],"risk_level":"Safe","signatures":[{"hex":"0A 52 65 6C 61 79 2D 56 65 72 73 69 6F 6E 3A","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 23 21 20 72 6E 65 77 73","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 4E 23 21 20 72 6E 65 77 73","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 46 6F 72 77 61 72 64 20 74 6F","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 50 69 70 65 20 74 6F","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 52 65 74 75 72 6E 2D 50 61 74 68 3A","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 46 72 6F 6D 3A","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 52 65 63 65 69 76 65 64 3A","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 4D 65 73 73 61 67 65 2D 49 44 3A","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"0A 44 61 74 65 3A","offset":2,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["eml","dbx","dci","mbox","msf","msg"],"usage":{"python":"def is_emlx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid EMLX by magic bytes at offset 2.\"\"\"\n    signature = bytes([0x0A, 0x52, 0x65, 0x6C, 0x61, 0x79, 0x2D, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x3A])\n    with open(file_path, \"rb\") as f:\n        f.seek(2)\n        return f.read(15) == signature","node":"function isEMLX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x0A, 0x52, 0x65, 0x6C, 0x61, 0x79, 0x2D, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x3A]);\n  if (buffer.length < 17) return false;\n  return buffer.subarray(2, 17).equals(signature);\n}","go":"func IsEMLX(data []byte) bool {\n    signature := []byte{0x0A, 0x52, 0x65, 0x6C, 0x61, 0x79, 0x2D, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x3A}\n    if len(data) < 17 {\n        return false\n    }\n    return bytes.Equal(data[2:17], signature)\n}"},"category":"Email & PIM"}}