Forums

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

Jira software outbound email flush schedule

Johan
Contributor
December 9, 2020

Hi all, I use the built in mail handler on our Jira system (Jira Server 8.8.0)

 

I don't have any issues with my mail handler, the only problem I have is that I often wonder where the email is for a ticket that was created, only to get to the mail queue and then I notice that the mailqueue has emails in it that hasn't been sent in 20 minutes (200+) emails. I click on flush mail queue and all emails are sent in less than 20 seconds. 

 

So my question is, how can I make sure that my mail queue is being flushed every 2 minutes or so? We work on highly time sensitive stuff and we can't wait 20minutes before being notified of the ticket. 

I did check under Services and this service : 

Mail Queue Servicecom.atlassian.jira.service.services.mail.MailQueueService 

 

Has this cron expression configured - 0 * * * * ? but it seems to be ignoring it. Any advice? 

2 answers

1 accepted

0 votes
Answer accepted
Johan
Contributor
December 11, 2020

Hi all, just an update on this. I found the issue. It seems the mailbox had too many unread bounce messages in the inbox so it had to work through all the messages first before sending. I cleared the mailbox and it's flushing according to the schedule now. 

0 votes
Brant Schroeder
Community Champion
December 10, 2020

I am assuming that you have batched emails turned on.  You can turn this off or change the duration.  I would check that first.  You can use this guide to help troubleshoot https://confluence.atlassian.com/jirakb/troubleshoot-slow-mail-notifications-in-jira-server-397803670.html

Johan
Contributor
December 10, 2020

Hi Brant this is without batched emails enabled. I will check that link for any tips thanks.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.8.0
TAGS
AUG Leaders

Atlassian Community Events