Issue with confluence mail disable - Pls help

Hi Guys,

Please help me to resolve this issue,

I want to disable mail option in my confluence for XML restore, for that I've added below JVM parameters and restarted the service.

-Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true

Now these parameters are showing in Confluence's system information's but mails are sending smoothly. Could you please tell me what exactly the error is? and how I can resolve this?

My standalone confluence is installed as service in windows server, so I've followed below docs for setting up the JVM arguments.

Many thanks in advance.

9 answers

I know you mentioned the System Info page, did you also verify the arguments show in the log as you expect?

In the past I recall having to sometimes quote arguments for some jvm processes,

"-Datlassian.mail.senddisabled=true" "..."

Otherwise it sounds like this may be a bug worth raising with Atlassian.

Looks like you are following JIRA's documentation. I'm not sure if these instructions have the same effect on Confluence.

Not sure how to do it in confluence, but you could try to set the outgoing server to a non-existant one temporarily to avoid sending of mails.

Hi Sameera,

I want to block emails while doing the XML restore. Suppose now if I change the server details to non-existant one, then also while doing the restore, it will map to the actual mail server configuration from the XML file(production backup).

So dont know how I can resolve this?


Sanu P Soman

I guess, I need to restart the server to take this effect? Is it true?

Raised support ticket for this and waiting for the update.

Indeed! If you change JVM parameters you have to restart Confluence.

I restarted confluence, just checking whether I need to restart the windows server to make this effect?

No you don't need to restart Windows server (OS).

Is Confluence/ Tomcat running as a Windows service? If so, you just have to go to Windows services (Start --> Run, services.msc) and restart the Tomcat/ Confluence service.

Yes... I did the same thing and now I can see the newly added parameters in the confluence system informations as well. But this is not blocking any mails :(

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

456 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you