-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
POP3 server does not do dot stuffing #299
Comments
@henningp - thank you, I did not know this. So if I understand this correctly, a message that contains the following in the returned body (from a POP3 server):
would get "translated" (transformed) by any POP3 client to:
? In order to address this, we need to prepend a dot on any line that starts with a dot to result in:
Am I 100% correct in my understanding? |
Hi @axllent, neither did I know about this until this week, and it was a royal pain to debug 😀 Yes, your understanding is exactly correct! Thanks for your swift reply. |
Thanks so much @henningp - I really appreciate it! I suspect I may have come across this issue before but never worked it out :-) Your patch looks good (well done) - so I'll merge this soon (I'm just working on something else right now) and get a new release out as soon as I can. |
Brilliant, thanks! 😊 |
This has been released in v1.18.3 :) Thanks again for your PR @henningp! |
Oh wow, thank you @axllent! :-D |
The POP3 server currently doesn't do "dot stuffing".
From the POP3 spec:
In practice, this means that any message line starting with a dot must have an extra dot added at the start of the line. (The same technique is used in SMTP.) Mailpit's POP3 doesn't do this, resulting in dots at the start of lines going missing when getting messages via POP3.
The text was updated successfully, but these errors were encountered: