Table of contents
This page was set to be reviewed before 2018-04-21 by the page owner: #2ndline. This might mean the content is out of date. Read how to review a page.

Stop all email subscription sending

In an emergency, the following steps will immediately stop all emails being sent by the GOV.UK email subscription system.

Warning This is an emergency stopgap solution that should be reverted as soon as possible. All emails (including urgent ones such as travel alerts) will not be sent while this is active.

Note Emails already sent to GOV.UK Notify for delivery cannot be stopped by this method.

  1. Ensure your fabric scripts are set up.
  2. Run fab $environment class:email_alert_api puppet.disable:"Disabling email subscriptions" to disable puppet (otherwise the next step will be undone the next time puppet runs).
  3. Run fab $environment class:email_alert_api app.stop:email-alert-api-procfile-worker to stop the email-alert-api Sidekiq workers.
This page was set to be reviewed before 2018-04-21 by the page owner: #2ndline. This might mean the content is out of date. Read how to review a page.