GapFill Flowee

This commit is contained in:
2026-06-18 11:24:05 +02:00
parent 64442af182
commit c68daf4313
25 changed files with 2965 additions and 48 deletions
+17 -1
View File
@@ -171,12 +171,28 @@ def parse_eml(raw_bytes: bytes, is_receipt: bool = False) -> ParsedEmail:
# ─── Helper privati ───────────────────────────────────────────────────────────
# Nomi file usati dall'infrastruttura PEC (non allegati utente)
# Nomi file usati dall'infrastruttura PEC italiana (non allegati utente)
_PEC_SYSTEM_FILENAMES = frozenset({
# ── PEC italiana (DM 2 novembre 2005) ─────────────────────────────────────
"daticert.xml",
"postacert.eml",
"smime.p7s",
"smime.p7m",
# ── REM europea (ETSI EN 319 532-4) ──────────────────────────────────────
"remevidence.xml",
"rem-evidence.xml",
"rem_evidence.xml",
"remreceipt.xml",
"rem-receipt.xml",
"remdispatch.xml",
"rem-dispatch.xml",
"remdelivery.xml",
"rem-delivery.xml",
"remdispatch.eml",
"rem-dispatch.eml",
"remsignature.p7s",
"rem-signature.p7s",
"signed-rem-dispatch.p7m",
})
# Content-type usati dall'infrastruttura PEC