-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various issues while importing emails via bridge #415
Comments
Another error: "required field date not found or empty". Seems like something is extremely pedantic about emails being in exactly the right format, not sure if this is in the bridge or on the proton mail backend. Either way, similar to a web browser, these "non-compliant" messages should be accepted without complaint, similar to a web browser rendering HTML that isn't necessarily perfectly written instead of simply giving up when, for example, tags don't get closed in the correct order. |
Seems like part of this is just https://github.com/ProtonMail/gluon/blob/dev/rfc5322/validation.go . Seems like this validation should simply be skipped - if it's possible to receive a message that violates these rules, then it should be possible to import such a message. Opened ProtonMail/gluon#386 for this. |
Hey @alexforencich, Thanks for your report. Regarding your issues:
This has been fixed in Gluon already, the fix should hopefully make its way in 3.5.
Any chance you could provide us with a sample message that triggers this issue?
This is a requirement of the RFC 5322 (section 3.6):
|
Well, I have emails that are missing the date field. Similar to web browsers, software handling emails has to be able to handle emails that don't necessarily comply to every aspect of the specification. And I suspect there are some other some other header parsing issues as well, I suspect probably related to emails that don't fully comply with the spec. I know I have seen at least one more similar error message so far, but haven't been able to repeat it yet. I'll report them as I come across them and can get a better idea of what the problems are. Again, it's one thing if we're talking about sending new emails, but in this case we're talking about importing emails that were sent by someone else, were received, and stored in a mailbox, and now it's just a question of importing those emails into proton mail. I guess maybe there is a way to edit such offending emails, but I don't think there is an easy way to do that in thunderbird, and either way it is a major issue for bulk importing messages. |
And yes, I can provide a copy of an email that's triggering the code 36027 issue. How should I get it to you? |
We have tracked the date issue internally as GODT-2847. We will make this more permissive.
You can forward them to my email address. |
Sure, where do I find that? |
You can find it in the git commit history. |
Got it, message sent. |
I have managed to reproduce the issue. Internally tracked as GODT-2851. |
I can reproduce this. Newly made account on Proton, newly installed Bridge. Windows 11, Thunderbird newest version. |
Hi All, I'm still getting this issue when importing emails using Protonmail Bridge v3.4.2 (br-165) on Ubuntu 23.04 and others. Any updates on a potential fix? Do you need any sample emails? |
We apologize for delays, we have started looking into this issue. |
Hi everyone, I also have this issue ("imported message is not fully encrypted). Any updates? Do you need any sample messages? Thank you! |
Please find attached some example emails causing the following error:
example-1.txt: Just an old e-Mail from Amazon Version InformationProton Mail Bridge v3.8.1 (br-187) Attachments |
@yu-tendo the error Did you import those messages with 3.8? |
@LBeernaertProton The e-Mails from above are exported with Thunderbird. Please just change the file extension from ".txt" to ".eml" (GitHub blocks ".eml"). If you open them with Thunderbird, I hope you should be able to reproduce this issue. Please let me know if you need additional information. Thank you! |
I am also getting the same error when I am trying to transfer emails using Thunderbird (and the bridge) from an email box outside of protonmail to a mailbox on protonmail. It happens for some messages... Here is the error (notification) "failed to import message: failed to import message: imported message is not fully encrypted (code=36027, status=0: known recovered message, possible duplication" FYI, when I use Mail on Mac OS X to do the same thing, I don't have this issue, those messages get transferred without problems. |
I am having the issue as well (TB 115.11.1 and Bridge v3.7.1 as well as TB 78.14.0), any workaround for this issue? |
Expected Behavior
Drag and drop emails from other email accounts in email client to import messages into proton email account via bridge should be reliable
Current Behavior
A number of messages seem to trigger various errors, causing the import to fail.
A selection of errors that thunderbird has reported on behalf of the mail sever:
Some messages seem to consistently cause timeouts with no further explanation.
The "not fully encrypted" error reported by thunderbird is accompanied by a log message in the bridge log file:
The other error does not seem to result in a log message.
The timeouts also don't appear to be accompanied by any remarkable log messages, and copying messages one at a time seems to reduce the probability of timeouts.
Version Information
Bridge 3.3.2
Thunderbird 102.9.1
Context (Environment)
Attempting to bulk import messages from other email accounts via the bridge
The text was updated successfully, but these errors were encountered: