# IMAP 支持群组收件箱

**URL:** https://meta.discourse.org/t/imap-support-for-group-inboxes/160588
**Category:** Announcements
**Tags:** new-feature
**Created:** [2020年八月12日 05:03 UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588 "2020-08-12T05:03:51Z")
**Posts on this page:** 1
**Showing post:** 13

<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: [2020年八月17日 00:10 UTC](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588/13 "2020-08-17T00:10:25Z")

</div>

快速更新。我上周合并了这两个 PR。首先，修复了归档和删除功能无需启用标签即可正常工作的问题：

> <https://github.com/discourse/discourse/pull/10426>
>
> Previously we did an early return if either SiteSetting.tagging\_enabled or Site…Setting.allow\_staff\_to\_tag\_pms was false when updating the email on the IMAP server -- however this also stopped us from archiving or deleting emails if either of these were disabled.

其次，我现在将所有 IMAP 日志写入数据库以便更方便地检查。将每天运行一个任务来删除超过 5 天的日志：

> <https://github.com/discourse/discourse/pull/10435>
>
> Convert all IMAP logging to write to a database table for easier inspection. The…se logs are cleaned up daily if they are \> 5 days old.
> 
> Logs can easily be watched in dev by setting \`DISCOURSE\_DEV\_LOG\_LEVEL=\\"debug\\"\` and running \`tail -f development.log | grep IMAP\`

---

_[View the full topic](https://meta.discourse.org/t/imap-support-for-group-inboxes/160588)._
