mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-26 11:46:44 +00:00
fix(GODT-2638): Validate messages before import.
Ensure messages have required header fields and adhere to the rfc5322 spec before import.
This commit is contained in:
@ -17,6 +17,7 @@ Feature: IMAP move messages by append and delete (without MOVE support, e.g., Ou
|
||||
"""
|
||||
Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000
|
||||
From: sndr1@[domain]
|
||||
Date: 01 Jan 1980 00:00:00 +0000
|
||||
To: rcvr1@[domain]
|
||||
Subject: subj1
|
||||
|
||||
@ -27,6 +28,7 @@ Feature: IMAP move messages by append and delete (without MOVE support, e.g., Ou
|
||||
"""
|
||||
Received: by 2002:0:0:0:0:0:0:0 with SMTP id 0123456789abcdef; Wed, 30 Dec 2020 01:23:45 0000
|
||||
From: sndr2@[domain]
|
||||
Date: 01 Jan 1980 00:00:00 +0000
|
||||
To: rcvr2@[domain]
|
||||
Subject: subj2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user