Skip to content

IMAP seems to not be working with STARTTLS #34

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

Open
skyelillith opened this issue Mar 8, 2025 · 6 comments
Open

IMAP seems to not be working with STARTTLS #34

skyelillith opened this issue Mar 8, 2025 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@skyelillith
Copy link

skyelillith commented Mar 8, 2025

My instance seems to not be able to connect to my Mailserver.

I am using STARTTLS for my Server.

Is there a way to change the SSL Type to STARTTLS?

Error /Log:
libredesk_app | timestamp=2025-03-08T10:13:21.911Z level=debug message="processing emails from mailbox" caller=/home/runner/work/libredesk/libredesk/internal/inbox/channel/email/imap.go:41 sc=email_inbox mailbox=Inbox inbox_id=1
libredesk_app | timestamp=2025-03-08T10:13:26.074Z level=error message="error processing mailbox" caller=/home/runner/work/libredesk/libredesk/internal/inbox/channel/email/imap.go:43 sc=email_inbox error="error connecting to IMAP server: tls: first record does not look like a TLS handshake"
libredesk_app | timestamp=2025-03-08T10:13:26.074Z level=debug message="finished processing emails from mailbox" caller=/home/runner/work/libredesk/libredesk/internal/inbox/channel/email/imap.go:45 sc=email_inbox mailbox=Inbox inbox_id=1

@n3storm
Copy link

n3storm commented Mar 8, 2025

Ar you using 587 port?

@skyelillith
Copy link
Author

Ar you using 587 port?

No i am using port 143 :) 587 is smtp.

@n3storm
Copy link

n3storm commented Mar 9, 2025

Sorry! my bad! I meant 143...

Where do you find SSL option? I could not find it in demo.

For starttls some times ssl must be none/false

@abhinavxd
Copy link
Owner

I'll add STARTTLS configuration options for both IMAP and SMTP in the next release to ensure compatibility with mail servers requiring it.

Thanks.

@abhinavxd abhinavxd self-assigned this Mar 9, 2025
@skyelillith
Copy link
Author

I'll add STARTTLS configuration options for both IMAP and SMTP in the next release to ensure compatibility with mail servers requiring it.

Thanks.

Cool thank you! Looking forward to it!

@abhinavxd
Copy link
Owner

The latest release has STARTTLS support for IMAP.

@abhinavxd abhinavxd added the enhancement New feature or request label Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants