mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #1134] Modoboa on Debian 9 / SSL version used by Dovecot and webmailer #939
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#939
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jun 10, 2017).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1134
Impacted versions
Steps to reproduce
I tried to install Modoboa on a fresh Debian 9/stretch, which will become the "stable" Debian on next saturday [1]. When opening the webmailer it fails with the error
Error: Connection to IMAP server failed: [Errno 104] Connection reset by peer. The syslog furthermore says:According to this post [2] openssl does not support SSLv2 from version 1.1. Debian stretch uses openssl 1.1.0f-3, so it has no SSLv2 support anymore. In contrast Debian jessie (the stable release at the moment) uses openssl 1.0.1t, so there should be no problem.
According to this post and some posts in Debian mailing lists, the solution to this problem would be changing the SSL version in Dovecot config (file
/etc/dovecot/conf.d/10-ssl.conf) fromto
After restarting the whole system there are still errors. The webmailer now reports this error:
while syslog says:
Does this mean, that the webmailer only supports SSLv2 while openssl used by dovecot only supports SSLv3?
Expected behavior
A working webmailer
Video/Screenshot link (optional)
Webmail-Settings:

Changing the IMAP secure connection to No still results in
Links
[1] https://lists.debian.org/debian-devel-announce/2017/05/msg00002.html
[2] https://bbs.archlinux.org/viewtopic.php?id=225535
@tonioo commented on GitHub (Jun 16, 2017):
@tir42 Thank you for reporting this but it is an installer issue. Could you please move it to the appropriate repository?
About the webmail, python2 imaplib (and so the webmail) does not support STARTTLS. Have you tried to change IMAP port to 993? (instead of 143)
@ghost commented on GitHub (Jun 16, 2017):
Thanks, changing the port to 993 did the trick. But only when I log in as a normal user. When I try to open webmail as admin it still fails with
Error: ['[AUTHENTICATIONFAILED] Authentication failed.'].But this is another issue and has nothing to do with Debian stretch.