Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to IMAP using StartTLS / Port 143 #139

Closed
d99kris opened this issue May 13, 2023 · 1 comment
Closed

Error connecting to IMAP using StartTLS / Port 143 #139

d99kris opened this issue May 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@d99kris
Copy link
Owner

d99kris commented May 13, 2023

Description:
This issue was highlighted in the nmail telegram group.

nmail is not able to connect to IMAP StartTLS service. Log content:

GnuTLS error: An unexpected TLS packet was received.
2023-05-10 19:46:15.295 | ERROR | mailimap_ssl_connect(m_Imap, m_Host.c_str(), m_Port) = MAILIMAP_ERROR_SSL  (imap.cpp:101)

How to reproduce it:
Configure IMAP port 143 and try connect using STARTTLS. Example for Gandi mail service:

imap_host=mail.gandi.net
imap_port=143

Environment:

  • Version: v4.20
  • OS / distro: Ubuntu 22.04.2 LTS, macOS 13.3.1
@d99kris d99kris added the bug Something isn't working label May 13, 2023
@d99kris d99kris self-assigned this May 13, 2023
@d99kris
Copy link
Owner Author

d99kris commented May 13, 2023

This should be fixed in above commit. Tested OK with Gandi IMAP STARTTLS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant