Skip to content

Mime issue#104

Merged
maneeshaxyz merged 5 commits into
mainfrom
MIME-issue
Nov 17, 2025
Merged

Mime issue#104
maneeshaxyz merged 5 commits into
mainfrom
MIME-issue

Conversation

@Aravinda-HWK

Copy link
Copy Markdown
Collaborator

📌 Description

This PR is to resolve the issue when loading the mail into Apple Mail(MUA).


🔍 Changes Made

  • Fix the issue when loading the mail with an attachment in Apple Mail.

✅ 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

…TARTTLS commands

- Deleted test files for handler_auth_login_test.go, handler_auth_logout_test.go, and handler_auth_starttls_test.go.
- These tests were removed as part of a refactoring effort to streamline the authentication handling code.
- Implemented tests for the LOGIN command covering various scenarios including basic flow, quoted credentials, missing arguments, and security checks.
- Added tests for the LOGOUT command to ensure proper response order, handling of authenticated and unauthenticated states, and multiple sequential logouts.
- Created tests for the STARTTLS command to validate response formats, argument handling, case insensitivity, and state resets after TLS negotiation.
- Ensured that all tests adhere to RFC 3501 specifications for IMAP commands.
…meric BODY sections, and reconstruct MIME headers for parts
@Aravinda-HWK Aravinda-HWK self-assigned this Nov 17, 2025
@maneeshaxyz
maneeshaxyz merged commit dca66aa into main Nov 17, 2025
3 checks passed
@Aravinda-HWK
Aravinda-HWK deleted the MIME-issue branch November 17, 2025 09:08
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] Undecoded MIME content logged to console during message receipt

2 participants