• We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      It would be very helpful to have a startup parameter to disable the sending and/or receiving of email.
      Jira has this, as described here.

      The request arose from CSP-13262, in which the site admin regularly test-restores backups. Firewall-based kludges will work, but a built-in facility within Confluence would be far tidier.

            [CONFSERVER-10004] Startup parameter to disable mail send/receive

            This would be useful. So both email polling and email sending would be disabled at startup.

            Deleted Account (Inactive) added a comment - This would be useful. So both email polling and email sending would be disabled at startup.

            Garnet R. Chaney added a comment - - edited

            I've been asking for this feature for many months. A patch, and changes to setenv.bat to specify java startup parameters, doesn't work.

            So I've resorted to searching bandana cache for mail configs, and manually change them to <enabled>false</enabled>.

            SELECT BANDANAID, BANDANACONTEXT, BANDANAKEY, BANDANAVALUE
            FROM BANDANA
            WHERE (BANDANAKEY = 'atlassian.confluence.space.mailaccounts')

            I make this step part of the manual steps of the test-restore process.

            As for the queue log warning - Also add the "mail disabled" warning to the system information screen so it can't be missed when the support case info is being collected.

            Garnet R. Chaney added a comment - - edited I've been asking for this feature for many months. A patch, and changes to setenv.bat to specify java startup parameters, doesn't work. So I've resorted to searching bandana cache for mail configs, and manually change them to <enabled>false</enabled>. SELECT BANDANAID, BANDANACONTEXT, BANDANAKEY, BANDANAVALUE FROM BANDANA WHERE (BANDANAKEY = 'atlassian.confluence.space.mailaccounts') I make this step part of the manual steps of the test-restore process. As for the queue log warning - Also add the "mail disabled" warning to the system information screen so it can't be missed when the support case info is being collected.

            If we implement this, we should have the mail-send queue log a warning whenever it flushes and mail is disabled. Otherwise we'll spend three days tracking down someone's "my mail won't send!" support case.

            Charles Miller (Inactive) added a comment - If we implement this, we should have the mail-send queue log a warning whenever it flushes and mail is disabled. Otherwise we'll spend three days tracking down someone's "my mail won't send!" support case.

              Unassigned Unassigned
              jfleming James Fleming (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: