JIRA cannot send mails: Message file too big

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The mail queue is stuck and JIRA is unable to send mail messages. On the log files we have the following error:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2013-04-01 08:09:11,463 ERROR [SMTP Mail Server] Sending mailitem com.atlassian.support.tools.salext.mail.SupportRequestMailQueueItem@56d2476a ServiceRunner Mail Queue Service Error occurred in sending e-mail: com.atlassian.support.tools.salext.mail.SupportRequestMailQueueItem@56d2476a com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) at com.atlassian.support.tools.salext.mail.AbstractSupportMailQueueItem.send(AbstractSupportMailQueueItem.java:52) at com.atlassian.support.tools.salext.mail.SupportRequestMailQueueItem.send(SupportRequestMailQueueItem.java:54) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2114) at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1900) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1122) at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:174) ... 10 more

Cause

The mail server is not accepting the mail messages from JIRA.

Resolution

  • Increase the current message size limit in your mail server. JIRA will start sending mails right away.

    ℹ️ You may need to restart the mail server.

Updated on April 10, 2025

Still need help?

The Atlassian Community is here for you.