How to delete mails from the Jira outbound queue

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。

要約

For any reason you need to delete (not flush) the mails from mail queue. Thousands of e-mails are awaiting in mail queue to be sent. 

This may be caused by adding a wrong inbox Email address for mail handler. If there are thousands of messages in this inbox, Jira reads them all, creates issues and sends notification to related users.

There are many other scenarios that may cause mass outbound notifications.


環境

All versions of Jira Core 7.x and 8.x.


ソリューション

A built-in solution has ben requested and can be tracked here:

JRASERVER-65784 - 課題詳細を取得中... ステータス

Please vote, watch and comment if this impacts you!

回避策

Jira outbound email is stored in-memory. If you're trying to clear Jira sending mail queue, restart Jira.

Following a Jira restart, all queued outgoing email will be cleared. There's no way to selectively clear email and leave others in the queue.  

What if I'm on Data Center

In DC, outbound email is also stored in memory. Every DC node maintains its own queue. 

You will need to inspect the outgoing mail queue on each node and see which one has the big number of emails. This node has to be restarted. 

If all nodes have thousands of emails queued, do a rolling cluster restart (one node at a time) — you don't need to stop all nodes together.



最終更新日 2021 年 9 月 24 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.