nextcloud / nextcloud/mail

Cannot log in to stalwart mail server.

Open
#10,294 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by comparing browser.1.log, nextcloud.log, and imap.log while reproducing manual authentication with Mail 4.0.2, Nextcloud 30.0.1, PHP 8.2, and Stalwart; done means the account setup completes instead of reporting an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript, mariadb, php
Domain
authentication, backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.