Skip to content
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

Problems receiving messages with davmail (exchange to imap proxy) An established connection was aborted by the software in your host machine. (os error 10053) #6184

Open
dbojan opened this issue Oct 31, 2024 · 10 comments
Labels
bug Something is not working

Comments

@dbojan
Copy link

dbojan commented Oct 31, 2024

  • Operating System (Linux/Mac/Windows/iOS/Android): windows 10, imap mail server
  • Delta Chat Version: 1.46.8 (git: v1.33.0-989-g5018d9d4)
  • Expected behavior: Show new messages
  • Actual behavior: New messages are not shown
  • Steps to reproduce the problem:

Unless I click toggle settings/advanced/'only synchronize selected profile' new messages do not appear

Please add option to have , whatever it is doing when I click on synchronize, done every 1 minute.

Messages also appear when I close and open program.
I also tried 'send copy to self'. Not much changes. Sometimes it works sometimes it does not.

Another option I would like to see, is add option: "always display all messages in inbox". Users could keep their inbox clean,
and move their old mails to archive folder in their mail program (or DC), or delete them.
This would ensure that all mails are displayed. Those archived in delta chat would be displayed there.

Command line options are also fine, and probably faster to implement, at least in the short run.

Thanks.

  • Screenshots:
  • Logs:
@Simon-Laux
Copy link
Member

Simon-Laux commented Nov 1, 2024

Does your email server have IMAP IDLE support? could you tell us more about your email server? does this also happen with other email servers?

toggling the option you mentioned calls stopIO/startIO (which means force reconnecting). I recently had a similar issue when imap idle was deactivated by accident in the experimental settings, make sure you haven't disabled imap idle there.

@dbojan
Copy link
Author

dbojan commented Nov 1, 2024

Thanks for the reply. I ll check it and post it here.

@iequidoo
Copy link
Collaborator

iequidoo commented Nov 1, 2024

Another option I would like to see, is add option: "always display all messages in inbox".

Do you mean smth different from what Advanced :: Show Classic E-Mails does? It should enable displaying all messages from Inbox and other watched folders.

@dbojan
Copy link
Author

dbojan commented Nov 5, 2024

Does your email server have IMAP IDLE support? could you tell us more about your email server? does this also happen with other email servers?

I am using davmail, to bridge ms exchange server, to act as imap server
I think it supports IMAP IDLE.
I do not know if it happens with other email servers, I only use it with this one.

toggling the option you mentioned calls stopIO/startIO (which means force reconnecting). I recently had a similar issue when imap idle was deactivated by accident in the experimental settings, make sure you haven't disabled imap idle there.

ok. Imap idle is enabled.

@dbojan
Copy link
Author

dbojan commented Nov 5, 2024

Another option I would like to see, is add option: "always display all messages in inbox".

Do you mean smth different from what Advanced :: Show Classic E-Mails does? It should enable displaying all messages from Inbox and other watched folders.

I didn't know that is what it means. I thought it means like don't display quoted text or something.

Anyway, show classic mail is set to all.

I deleted appdata folder for deltachat, and set up account again. Only send copy to self is, move to chat, and prefer encryption is on.
Still not all messages are displayed, until I restart the program. :(

@Simon-Laux
Copy link
Member

Simon-Laux commented Nov 5, 2024

can you try if the upcoming testrelease fixes it?:

otherwise we'd need to check the log file of when it stops receiving messages. since it might contain sensitive info censor it first and send it to [email protected] the log can be found at (view->developer-> open current log file / open log folder)

@dbojan
Copy link
Author

dbojan commented Nov 5, 2024

Sorry, new version still does not display new messages. Log is attached.
2024-11-05-10-57-48 - Copy.log

Thanks.

@Simon-Laux
Copy link
Member

Simon-Laux commented Nov 5, 2024

An established connection was aborted by the software in your host machine. (os error 10053): An established connection was aborted by the software in your host machine. (os error 10053)"

this line looks suspicious.

  • do you have some special firewall or antivirus software that might close the connection?
  • is there a connection limit on imap connections in "davmail"?

seems like davmail does not support IMAP IDLE, so dc uses polling. there is a new core version that is not used yet that fixes an issue with imap polling/"fake idle": https://github.com/deltachat/deltachat-core-rust/blob/main/CHANGELOG.md#11487---2024-11-03 but your issue might be with the thing that aborts the connection.

@dbojan
Copy link
Author

dbojan commented Nov 5, 2024

-there is no special firewall on this machine, other than standard windows firewall.
-checking davmail help, I see there is an option davmail.folderSizeLimit, but it is not set.

I use betterbird on this machine, which can retrieve mails fine

BR,

@Simon-Laux Simon-Laux transferred this issue from deltachat/deltachat-desktop Nov 6, 2024
@Simon-Laux Simon-Laux changed the title Mesages not shown until toggle 'only synchronize selected profile' Problems receiving messages with davmail (exchange to imap proxy) Nov 6, 2024
@Simon-Laux Simon-Laux changed the title Problems receiving messages with davmail (exchange to imap proxy) Problems receiving messages with davmail (exchange to imap proxy) An established connection was aborted by the software in your host machine. (os error 10053): An established connection was aborted by the software in your host machine. (os error 10053)" Nov 6, 2024
@Simon-Laux Simon-Laux changed the title Problems receiving messages with davmail (exchange to imap proxy) An established connection was aborted by the software in your host machine. (os error 10053): An established connection was aborted by the software in your host machine. (os error 10053)" Problems receiving messages with davmail (exchange to imap proxy) An established connection was aborted by the software in your host machine. (os error 10053) Nov 6, 2024
@Simon-Laux Simon-Laux added the bug Something is not working label Nov 6, 2024
@gerryfrancis
Copy link
Contributor

gerryfrancis commented Nov 7, 2024

I use betterbird on this machine, which can retrieve mails fine

@dbojan Betterbird, a close relative to Thunderbird, may open five IMAP connections at once right from the start, so I think it would make sense to reduce the number of connections used in parallel by Betterbird first in case either Davmail or EWS offer a limited amount of IMAP connections. Here is some information on how this can be achieved: https://support.mozilla.org/en-US/questions/1082511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

4 participants