bkaankose / Wino-Mail

Built-in Mail & Calendars app clone for Windows.
https://www.winomail.app/
GNU General Public License v3.0
528 stars 23 forks source link

[Bug] mail.de IMAP server error - BAD invalid command #263

Open dxsty98 opened 2 days ago

dxsty98 commented 2 days ago

Describe the bug Unfortunately following the 1.7.X update I can't connect my Mail.de email anymore. Connecting to my account via IMAP Server gives the following error message: "The IMAP server replied to the 'ID' command with a 'BAD' response: invalid command

Expected behavior E-Mail account e.G "Dusty@mail.de" should be available to add through managed accounts/Add New Account/IMAP Server

Screenshot meh

Protocol Connected to imaps://imap.mail.de:993/ S: OK IMAP4 ready C: I00000000 CAPABILITY S: CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE AUTH=PLAIN AUTH=LOGIN S: I00000000 OK completed C: I00000001 ID ("version" "1.0" "os" "Windows" "vendor" "Wino") S: I00000001 BAD invalid command

bkaankose commented 2 days ago

I believe this issue is fixed for the upcoming version.

Context: Most IMAP servers support ID extension. Some of them require it, some of them not. Some of them require it pre-authentication, some of them post-authentication. Some of them return BAD as a response, some of them NO as a response. If the server supports, current version of Wino only handles NO response from the pre-authentication but in your case GMX.de responds as BAD to this call from Wino.

I wanted to create an account on GMX.de for trying out the fix but failed since it requires German mobile phone for registration. However, I may have some workarounds to try this fix.

I am planning to release the new version on Tuesday-Wednesday. Labeling the issue as fixed, will let you know once the new version goes live. Thanks!

dxsty98 commented 1 day ago

Thanks for the quick response you are awesome