-
-
Notifications
You must be signed in to change notification settings - Fork 828
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
The POP3 server has unexpectedly disconnected #174
Comments
Try downloading 1 message at a time |
It is ok when downloading one at time |
The problem, I suspect, is that your server advertises that it supports PIPELINING, but doesn't actually support it. You'll notice above in the log that MailKit requests a bunch of messages (all those RETR commands) in a pipelined fashion, but the server only replies with a single message. Or did you cut out more than just the content of a single message? |
I cut out messages content and replace it with "more lines with S" |
Did you cut out any "S: +OK"'s? That's what I was asking. |
Sorry for my misunderstood, here are 2 full logs: |
Okay, so, I think that the problem is that the server is only responding with a single message even though you asked for ~10 or so in each session. |
…back handler This way, if the server replies with -ERR in a subsequent CAPA query, all capabilities are cleared. If the clearing happens in the callback handler, then they are only updated if the server replies with a +OK response. Fixes issue #174
Looking at your log again, I saw this after authenticating:
This should probably clear our list of capabilities which would cause us to not even try to take advantage of PIPELINING. I also confirmed that your server is broken with PIPELINING using wireshark. As I suspected, it only responds to a single RETR command and ignores the rest which is what causes MailKit to sit there waiting forever until the TCP connection times out and throws an exception. |
BTW, you may want to change your password since you forgot to X-out your base64'd user/password string both in your original bug report and in those pastebin links. I've X'd it out in your original bug report, but I can't change the pastebin entries. |
Hi,
tried new version from github with fixed \r\n and got next problem:
Log
The text was updated successfully, but these errors were encountered: