Skip to content

feat: add explicit TLS handshake in HandleStartTLS and HandleSSLConne…#135

Merged
maneeshaxyz merged 1 commit intomainfrom
port-993-issue
Nov 24, 2025
Merged

feat: add explicit TLS handshake in HandleStartTLS and HandleSSLConne…#135
maneeshaxyz merged 1 commit intomainfrom
port-993-issue

Conversation

@Aravinda-HWK
Copy link
Copy Markdown
Collaborator

📌 Description

This PR is to resolve the issue that port 993 was not automatically loaded when we connected to Mail User Agent.


🔍 Changes Made

  • Explicitly perform TLS handshake
  • Send greeting for SSL/TLS connections(Major fix for the above bug)

✅ Checklist (Email System)

  • Core IMAP commands tested (LOGIN, CAPABILITY, LIST, SELECT, FETCH, LOGOUT).
  • Authentication is tested.
  • Docker build & run validated.
  • Configuration loading verified for default and custom paths.
  • Persistent storage with Docker volume verified.
  • Error handling and logging verified
  • Documentation updated (README, config samples).

🧪 Testing Instructions

To test the server, use the instructions in the README in the test directory.


📷 Screenshots / Logs (if applicable)


⚠️ Notes for Reviewers

@Aravinda-HWK Aravinda-HWK self-assigned this Nov 23, 2025
@maneeshaxyz maneeshaxyz merged commit 0345d57 into main Nov 24, 2025
9 checks passed
@Aravinda-HWK Aravinda-HWK deleted the port-993-issue branch November 25, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Find why Mail User Agent directly connect to port 143 instead of 993

2 participants