Comments (3)
Hi @majorminors
Thanks a lot for the report. I tried to send me an email to protonmail using mutt, setting the sender the from with the same string and protonmail removes the "Sender" line. I tryid to add the sender with double quotes, and the same.
How can I reproduce the error? Should we implement a method to remove the sender line if is equal to the From line (with or without double quotes)?
Best regards,
kix
from offlineimap3.
Interesting! I hadn't been back to check this issue in a while, and I'm realising it's because I haven't encountered the problem in a while (previously at was at least once every couple days). Either someone (proton?) Have fixed the issue on their end, or I'm unconsciously screening the mails I know are a problem. Let me wait until a known problem sender hits my inbox and ill see if it still happens.
As for the solution you mention---automatically removing the sender---seems sensible to me given the RFC formatting recommendation in the error. But also I'd just be trusting proton that this is correct email formatting.
from offlineimap3.
So, I just deleted an email from the same source as the one that I used to illustrate this issue (Palm report), and offlineimap managed it with no issues.
Interestingly, unlike your attempt, protonmail doesn't appear to have stripped the 'Sender' field---they're still the same:
From: PALM REPORT by Poolsuite [email protected]
Sender: PALM REPORT by Poolsuite [email protected]
Although I note the double quotes are gone from the 'From' field. Not sure if that's important.
Anyway, I guess I'll close the issue, since it's solved for me somehow. If you want to re-open it for testing, feel free, and I'll be happy respond as I can to help out.
I'll also mention that it was resolved on my issue on the old offlineimap repo.
from offlineimap3.
Related Issues (20)
- Why does the readme recommend an AUR package? HOT 3
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed error HOT 4
- Offlineimap config files not stored when installing via `pip` HOT 7
- offlineimap3 produces error due to defect in Spam email HOT 6
- Support py3.12 HOT 1
- ERROR: UID 11544 has defects preventing it from being processed! HOT 2
- No module named commands error (Debian) HOT 1
- Syncronization of previously deleted/moved emails: 'failed to label messages: Message does not exist'
- "tmp" folder conflicts with mapfilenametmp
- keyring has broken user environment and scripts HOT 2
- Imaputil quote function should escape backslashes first and then quotes
- TypeError: decoding with '136' codec failed (TypeError: utf7m_decode() takes 1 positional argument but 2 were given)
- Document reasoning for having maxsyncaccounts
- IMAP <> IMAP sync introduces a large fixed offset for the received date-time when mail headers contain a negative timezone (eg a USA-based remote mail host). HOT 1
- IMAP with outlook.office365.com and XOAUTH2 fails since 18-Feb-2024 with `command LIST illegal in state NONAUTH`
- Cannot handle 'already exists' and 'Cannot create this folder' messages when syncing folders with Courier IMAP
- Incompatible with Python 3.12 HOT 4
- KeyError: 'cygwin' when installing
- openssl password decryption error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from offlineimap3.