-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
-
18
-
2
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
At the moment, Confluence doesn't have any way to allow administrators to disable mail servers (they can only add/remove them) in the Confluence UI. Instead, a system property needs to be set at the JVM level to disable the mail server.
Adding this to the Confluence UI would allow Administrators to disable email servers as needed, for example if they wanted to bulk edit pages or spaces.
Workaround:
- Stop Confluence
- Add -Datlassian.mail.senddisabled=true to the JVM arguments for Confluence as described in Confluence System Properties
- Start Confluence
This will only disable automated emails from being sent, it will not prevent test emails from being sent manually
- relates to
-
CONFCLOUD-41414 Allow Confluence adminstrators to disable mail servers temporarily
- Closed
Form Name |
---|
@Rich Kucera, plugins can leverage SMTP configurations other than the default one. I have a Scriptrunner customization that sends using an alternate SMTP server (with different prefix and sender).
It's not pretty in the logs, but the workaround I employ is to change my SMTP server hostname to something that doesn't exist.
Something like mysmtphost-off.mydomain.com