Disable Emails from Container Manager on Synology
A short guide on how to customise (or disable) notifications from Container Manager on a Synology NAS
Synology likes to send emails for important events that happen on your NAS, one of those it deems important is when a container stops. This can be annoying if using portainer or similar.
The solution is partly described below for messages received in DSM itself:
- Go to your Synology DSM desktop page, click the notification bubble on the right top (next to your profile/user icon), click the gear-icon on the top and disable Container Manager.
But that still left me receiving e-mails. I found the following to help turning those off:
- Go to the Control Panel in DSM (7.2+)
- Go to menu Notification
- If you receive emails you probably have a recipient profile set in the first tab (email) in the bottom. If so, you would have also set a Rule to it. In my case that rule was
All
. - Now navigate to the Rules tab in the same screen.
- Click the Add button on top to create a new custom rule.
- I have created a new rule
All - custom,
since the existingAll
rule is immutable. - Just select all Events except for those under 'Container Manager' to make sure you don't receive those mails anymore (or at least don't select the 'Container stopped unexpectedly' event.)
(Of course this might also be a good moment to actually check if you need all of those Events to be alerted and narrow it down to what you exactly need). - Click the Add button in the bottom and you have your own personal rule set.
After that, go back to the Email tab and select your mail address in the bottom and click the Edit button. Here you will be able to change the Rule from the previously used one (in my case 'All'), to the newly created rule.
Now you shouldn't receive any errors anymore when using portainer, watchtower or similar to update your docker containers.
Member discussion