nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
852 stars 263 forks source link

Cannot log in to stalwart mail server. #10294

Open dexterdy opened 1 month ago

dexterdy commented 1 month ago

Steps to reproduce

  1. fill in manual authentication details
  2. wait quite a long time, until the button stops loading

Expected behavior

I log in.

Actual behavior

I did not log in and got an error message: "There was an error while setting up your account"

Mail app version

4.0.2

Nextcloud version

30.0.1

Mailserver or service

stalwart

Operating system

nextcloud community docker on fedora

PHP engine version

PHP 8.2

Nextcloud memory caching

Seems to be enabled, but I did not touch or tweak settings from base image

Web server

Other

Database

MariaDB

Additional info

browser console: browser(1).log nextcloud log: nextcloud.log imap.log: imap.log Did not get any smtp log

I have stalwart set to timeout 5 seconds after auth failure, so that seems to point at this being the issue, but the exact same authentication worked fine on thunderbird, so this makes me believe that it is an issue with this mail client?

kesselb commented 1 month ago

Hi @dexterdy,

You posted your password, please change it.

Is there something in the stalwart logs, the logs say a connection timeout/interrupt.

dexterdy commented 1 month ago

Oh no, you're right. I have changed it and removed the mentions of my password in the file

dexterdy commented 1 month ago

@kesselb , only the following:

2024-10-25T14:00:57Z DEBUG IMAP connection started (imap.connection-start) listenerId = "imaptls", localPort = 993, remoteIp = 141.224.221.68, remotePort = 49630
2024-10-25T14:00:57Z INFO Authentication successful (auth.success) listenerId = "imaptls", localPort = 993, remoteIp = 141.224.221.68, remotePort = 49630, accountName = "j.p.hagedoorn", accountId = 7

And that is with debug logging on