IMAP auth support #2239

Closed
opened 2025-11-02 04:29:07 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @dadosch on GitHub (Aug 23, 2018).

You can authenticate users via IMAP just like with LDAP, but it isn't as complicated to set up an IMAP server.

This library could be useful.

Originally created by @dadosch on GitHub (Aug 23, 2018). You can authenticate users via IMAP just like with LDAP, but it isn't as complicated to set up an IMAP server. This [library](https://github.com/emersion/go-imap) could be useful.
GiteaMirror added the type/featuretype/proposal labels 2025-11-02 04:29:07 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 3, 2023):

I do no think IMAP could be used as an auth source.

SMTP is generally safe because even if the password is leaked, no one could access your inbox.

But, if your IMAP password is leaked, others can access your inbox.

Well, in most cases the SMTP password and IMAP password are the same, IMO neither SMTP nor IMAP is the proper auth method, avoid using them.

@wxiaoguang commented on GitHub (Jun 3, 2023): I do no think IMAP could be used as an auth source. SMTP is generally safe because even if the password is leaked, no one could access your inbox. But, if your IMAP password is leaked, others can access your inbox. Well, in most cases the SMTP password and IMAP password are the same, IMO neither SMTP nor IMAP is the proper auth method, avoid using them.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2239