# Email retries during long email server shutdown

**URL:** <https://meta.discourse.org/t/email-retries-during-long-email-server-shutdown/282056>\
**Category:** Product Support\
**Tags:** email\
**Created:** [October 12, 2023, 6:14pm UTC](https://meta.discourse.org/t/email-retries-during-long-email-server-shutdown/282056 "2023-10-12T18:14:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [October 13, 2023, 8:46am UTC](https://meta.discourse.org/t/email-retries-during-long-email-server-shutdown/282056/2 "2023-10-13T08:46:44Z")

</div>

Your fear is valid.

I’m not sure how much time you have to fix this? One solution could be to set up and configure a mail server that accepts emails but just throws them away.

The _really_ quick and (very) dirty way to resolve this is to use redis-cli and issue a flushdb command. That will remove _all_ queued jobs. It will also log out all users. Then reboot your Discourse to make sure all regular jobs run again.

---

_[View the full topic](https://meta.discourse.org/t/email-retries-during-long-email-server-shutdown/282056)._
