Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I'd like to receive an email when our Mail Queue gets backed up

garretmulder April 9, 2020

How can I set up an automated email that triggers when our Jira Server 8.8 Mail Queue backs up with a set amount of notifications? 

We're noticing that on a weekly basis, our mail queue error list contains anywhere from 50-300 notifications that are not sent. 

Currently I have to check daily to see how many are backed up to make sure the count isn't too high. I would prefer setting up an automated email to trigger when the mail queue backup is at 20 notifications not sent. Would anyone have the steps to set that up? 

Thank you! 

1 answer

1 accepted

0 votes
Answer accepted
Dave Theodore [Coyote Creek Consulting]
Community Champion
April 10, 2020

If the mail queue is backed up due to not being able to send mail, how would it send you an email notification?

To solve the problem of mail queueing, I recommend setting up a local MTA (sendmail, postfix, etc) on the Jira server and have Jira send mail there (ie: 127.0.0.1:25). Configure the local MTA forward the mail to users or relay to your company mail server. You could also try increasing the amount of heap memory you allocate to the JVM.

Suggest an answer

Log in or Sign up to answer