nextcloud / nextcloud/mail

Can not connect to imap server that uses TLS1.1

Open
#8,654 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

I am trying to connect to an email server that is still using the deprectated TLS1.1 However, the nextcloud mail app doesn't allow me to connect, and simply says "IMAP server is not reachable".

On thunderbird, it is possible to change the minimum allowable version of TLS to 1.1. As far as I can tell, there is not an option to to do this in Nextcloud.

Expected behavior
  1. When creating an account, the Mail client should give a more useful error messaging, stating that the TLS version is not supported.
  2. The nextcloud mail client should allow you to set the minimum version to 1.1, even if it is now deprecated.
Actual behavior

I get the uninformative message "IMAP server is not reachable"

Mail app version

3.2.4

Mailserver or service

No response

Operating system

Ubuntu Linux 22.04.2

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

PostgreSQL

Additional info

No response

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

Start by reproducing account creation against an IMAP server restricted to TLS 1.1, then trace how the Mail app reports connection failures. Determine where the TLS version is selected and where the generic reachability error is produced. Done means the supported behavior is defined and covered for both a useful TLS error and TLS 1.1 configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.