# תמיכה ב-IMAP עבור תיבות דואר קבוצתיות

**URL:** https://meta.discourse.org/t/imap-support-for-group-inboxes/160588
**Category:** Announcements
**Tags:** new-feature
**Created:** [12 באוגוסט,‏ 2020,‏ 5:03am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588 "2020-08-12T05:03:51Z")
**Posts on this page:** 13
**Page:** 2

<div class="post-metadata">

### Author: ![anon73664359](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@anon73664359](https://meta.discourse.org/u/anon73664359)
#### Post date: [16 באוקטובר,‏ 2021,‏ 6:00pm UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/28 "2021-10-16T18:00:39Z")

</div>

Yeah, will support for other email providers like Outlook and iCloud come sooner rather than later?

Oh, and that isn’t even counting lesser known email providers.

---

<div class="post-metadata">

### Author: ![mognet](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mognet](https://meta.discourse.org/u/mognet)
#### Post date: [16 באוקטובר,‏ 2021,‏ 6:24pm UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/29 "2021-10-16T18:24:04Z")

</div>

I agree this is the best option.

---

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [18 בפברואר,‏ 2022,‏ 8:37am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/30 "2022-02-18T08:37:04Z")

</div>

Hi @martin,

Sorry if this was already asked, but could not find any reference on Meta.

According to:

> [@martin](#):
>
> **Only Gmail is currently supported as an IMAP provider**. We have some generic IMAP functionality but it is not guaranteed to work. Outlook online is our next big target for support.

Is it still under your plans to incorporate Outlook/Exchange Online for IMAP? If so, how Discourse will connect to Outlook/Exchange Online, giving the fact that MS is moving into the OAuth2 authentication direction ? (as per [Authenticate an IMAP, POP or SMTP connection using OAuth | Microsoft Docs](https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth))

Cheers,  
Ismael

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [22 בפברואר,‏ 2022,‏ 5:28am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/32 "2022-02-22T05:28:11Z")

</div>

Sorry, we don’t currently have further improvements for IMAP support on our roadmap, nor do we have plans to add support for other providers at this time.

It turned out to be a far too complex piece with too many edge cases to worry about.

I recommend sticking with the simple to reason about POP3 integration.

---

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [22 בפברואר,‏ 2022,‏ 7:48am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/33 "2022-02-22T07:48:51Z")

</div>

Hi Sam,

Many thanks for your reply. Indeed we will like to stick to POP3 if possible, but if I’m not mistaken, Discourse communicates with basic-auth with POP3.

According to MS, basic-auth will be phased out as of October 2022 (please see [Basic Authentication and Exchange Online – September 2021 Update - Microsoft Tech Community](https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-september-2021-update/ba-p/2772210) - `Starting September 1, 2022, we will remove the opt out option, and starting October 1, 2022, we’ll begin turning off Basic Auth in all tenants, regardless of usage.`).

Hence, re-formulating my question. Is it under your plans providing Oauth2 authentication for the current POP3 mail protocol?

Thanks,  
Ismael

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [23 בפברואר,‏ 2022,‏ 11:14pm UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/35 "2022-02-23T23:14:16Z")

</div>

> [@trobiyo](#):
>
> but if I’m not mistaken, Discourse communicates with basic-auth with POP3.

We actually do SSL by default 😉

> <https://github.com/discourse/discourse/blob/841c90044cd9065d3fd69043f68b0b27de8604b6/config/site_settings.yml#L1115-L1115>

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [25 בפברואר,‏ 2022,‏ 2:04am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/36 "2022-02-25T02:04:21Z")

</div>

A post was split to a new topic: [Add richer authentication support for POP3](https://meta.discourse.org/t/add-richer-authentication-support-for-pop3/219340)

---

<div class="post-metadata">

### Author: ![Anders\_Johansson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anders_johansson/32/281017_2.png) [@Anders\_Johansson](https://meta.discourse.org/u/Anders_Johansson)
#### Post date: [25 בינואר,‏ 2023,‏ 10:39am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/37 "2023-01-25T10:39:33Z")

</div>

Hi, I use iRedmail Server, I have no problem connecting to my IMAP server but can’t choose which mailbox to syncronize.

 ![bild](https://global.discourse-cdn.com/meta/original/4X/e/a/d/ead0dd8a635798b4c097f3613ab3750901234736.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [30 באוקטובר,‏ 2023,‏ 4:10pm UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/38 "2023-10-30T16:10:15Z")

</div>

Is this still supported and/or possible?

> **documentation tweak**
>
> > [@martin](#):
> >
> > `allow staff to tag pms`
> 
> This is now `pm tags allowed for groups `

[Add Gmail to another email client - Gmail Help](https://support.google.com/mail/answer/7126229) says

> [@](#):
>
> To keep your account more secure, Gmail no longer supports third-party apps or devices which require you to share your Google username and password. Sharing your account credentials with third-parties makes it easier for hackers to gain access to your account.
> 
> Instead, look for the option to “Sign in with Google,” which is a safer way to sync your mail to other apps. [Learn about Sign in with Google](https://support.google.com/accounts/answer/12849458).

So I guess the Google doesn’t want us to do this anymore?

Also, on the system where I set this up before on the group settings page, I click the “test” buttons and it claims SMTP and IMAP settings are valid but error logs show:

```plaintext
Unexpected error when checking SMTP credentials for group 42 (support). : OpenSSL::SSL::SSLError : SSL_connect returned=1 errno=0 peeraddr=142.251.163.109:587 state=error: wrong version number

```

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [16 ביולי,‏ 2024,‏ 4:32am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/39 "2024-07-16T04:32:24Z")

</div>

I’d like to announce that sadly, we are going to be sunsetting IMAP support in Discourse. Neither we nor any of our customers use this, and the functionality has always been alpha-stage since release, with no further plans for future support.

We will be doing this within the next few months. If it proves easy enough, we will split out the functionality into an unsupported plugin for self-hosters, otherwise we will have no choice but to remove it completely from the codebase.

I will post further updates here when I start removing things.

---

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [10 באוגוסט,‏ 2024,‏ 5:43am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/40 "2024-08-10T05:43:35Z")

</div>

Note that [Stalwart-mail](https://stalw.art) developper Mauro de Gennaro would be interested in Discourse ↔ Stalwart integration. Maybe the existing code can be used as a starting point? Placing the code you want to remove, @martin, in a plugin would be useful in that case.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [12 במאי,‏ 2025,‏ 11:44pm UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/41 "2025-05-12T23:44:01Z")

</div>



---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [12 בינואר,‏ 2026,‏ 2:27am UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/42 "2026-01-12T02:27:19Z")

</div>

This has finally been removed:

[https://github.com/discourse/discourse/pull/37002](https://github.com/discourse/discourse/pull/37002)

[Previous page](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588.md?page=1)
