com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55fc4 @400000005452b56217b55fc4 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) @400000005452b56217b914fc at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) @400000005452b56217b918e4 at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:599) @400000005452b56217b91ccc at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:561) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:420) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:306) @400000005452b56217b93ff4 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:401) @400000005452b56217b943dc at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) @400000005452b56217b94bac at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) @400000005452b56217b976a4 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) @400000005452b56217b97a8c at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) @400000005452b56217b9825c at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)

Atlassian JIRA | David Nicholson [Atlassian] | 2 years ago
  1. 0

    If there is a large amount of notifications and JIRA is unable to process an email, mail queue gets stuck and does not send any. It's possible to use the 'bypass' feature to move through the queue, but this is manual and might need to be done multiple times. You can see this in the logs: {noformat} @400000005452b56217b5540c 2014-10-30 15:02:00,396 atlassian-scheduler-quartz1.clustered_Worker-2 ERROR ServiceRunner PEVS MBI [atlassian.mail.incoming.mailfetcherservice] PEVS MBI[10041]: Exception: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55bdc @400000005452b56217b55fc4 com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55fc4 @400000005452b56217b55fc4 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) @400000005452b56217b914fc at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) @400000005452b56217b918e4 at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:599) @400000005452b56217b91ccc at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:561) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:420) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:306) @400000005452b56217b93ff4 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:401) @400000005452b56217b943dc at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) @400000005452b56217b94bac at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) @400000005452b56217b976a4 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) @400000005452b56217b97a8c at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) @400000005452b56217b9825c at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) @400000005452b56217b98644 at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) @400000005452b56217b98644 at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) @400000005452b56217b98a2c at org.quartz.core.JobRunShell.run(JobRunShell.java:223) @400000005452b56217b98e14 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) {noformat} If this occurs, the bypass should be automatic or should allow for notifying administrators so that they can deal with this and not suffer prolonged outages.

    Atlassian JIRA | 2 years ago | David Nicholson [Atlassian]
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55fc4 @400000005452b56217b55fc4 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) @400000005452b56217b914fc at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) @400000005452b56217b918e4 at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:599) @400000005452b56217b91ccc at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:561) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:420) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:306) @400000005452b56217b93ff4 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:401) @400000005452b56217b943dc at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) @400000005452b56217b94bac at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) @400000005452b56217b976a4 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) @400000005452b56217b97a8c at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) @400000005452b56217b9825c at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)
  2. 0

    If there is a large amount of notifications and JIRA is unable to process an email, mail queue gets stuck and does not send any. It's possible to use the 'bypass' feature to move through the queue, but this is manual and might need to be done multiple times. You can see this in the logs: {noformat} @400000005452b56217b5540c 2014-10-30 15:02:00,396 atlassian-scheduler-quartz1.clustered_Worker-2 ERROR ServiceRunner PEVS MBI [atlassian.mail.incoming.mailfetcherservice] PEVS MBI[10041]: Exception: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55bdc @400000005452b56217b55fc4 com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55fc4 @400000005452b56217b55fc4 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) @400000005452b56217b914fc at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) @400000005452b56217b918e4 at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:599) @400000005452b56217b91ccc at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:561) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:420) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:306) @400000005452b56217b93ff4 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:401) @400000005452b56217b943dc at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) @400000005452b56217b94bac at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) @400000005452b56217b976a4 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) @400000005452b56217b97a8c at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) @400000005452b56217b9825c at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) @400000005452b56217b98644 at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) @400000005452b56217b98644 at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) @400000005452b56217b98a2c at org.quartz.core.JobRunShell.run(JobRunShell.java:223) @400000005452b56217b98e14 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) {noformat} If this occurs, the bypass should be automatic or should allow for notifying administrators so that they can deal with this and not suffer prolonged outages.

    Atlassian JIRA | 2 years ago | David Nicholson [Atlassian]
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55fc4 @400000005452b56217b55fc4 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) @400000005452b56217b914fc at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) @400000005452b56217b918e4 at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:599) @400000005452b56217b91ccc at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:561) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:420) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:306) @400000005452b56217b93ff4 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:401) @400000005452b56217b943dc at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) @400000005452b56217b94bac at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) @400000005452b56217b976a4 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) @400000005452b56217b97a8c at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) @400000005452b56217b9825c at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)
  3. 0

    IOException in _*atlassian-jira-outgoing-mail.log*_ when attaching and then immediately deleting an attachment when using the event listener (with *Require Comment* disabled). The problem mail also gets stuck in the *Mail Queue*. {noformat} com.atlassian.mail.MailException: javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: /usr/local/apps/atlassian/atlassian-jira-software-7.2.2-standalone/home/data/attachments/AT/10000/AT-1/10105 (No such file or directory) at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:222) [atlassian-mail-2.7.13.jar:?] at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) [atlassian-mail-2.7.13.jar:?] at com.atlassian.mail.queue.MailQueueImpl.sendBufferUnderLock(MailQueueImpl.java:103) [atlassian-mail-2.7.13.jar:?] at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:56) [atlassian-mail-2.7.13.jar:?] at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:51) [classes/:?] at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:48) [classes/:?] at com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:110) [classes/:?] ......... {noformat} Replication steps: * Create a new project. * Configure the event listener to send notifications to JIRA users for the new project (Have *Require Comment* disabled, enable *In Line images* and *Include *). * Create an issue (add an assignee and reporter). * Add an attachment (via the UI), check there is a notification for this event in the *Mail Queue*. * Before the notification is sent delete the attachment (via the UI), there will now be two notifications in the *Mail Queue* (one for adding the attachment, the other for deleting it). * Flush the *Mail Queue*. The notification for deleting the attachment will be sent. The notification for adding the attachment will error and remain in the *Mail Queue* resulting in the loss of the notification. This includes the scenario of having Require Comment to Notify enabled in the Event Listener, if any of the attachments in the notification are deleted before the notification is sent, this will result in the *loss* of the *entire* notification. The IOException will present in the _*atlassian-jira-outgoing-mail.log*_.

    JIRA | 1 month ago | Rhys Griffiths
    com.atlassian.mail.MailException: javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: /usr/local/apps/atlassian/atlassian-jira-software-7.2.2-standalone/home/data/attachments/AT/10000/AT-1/10105 (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot send Test Mail due to Authentication Error - Atlassian Documentation

    atlassian.com | 7 months ago
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.mail.MailException

      com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Error: message file too big @400000005452b56217b55fc4 @400000005452b56217b55fc4 at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201) @400000005452b56217b914fc at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:149) @400000005452b56217b918e4 at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.sendMail(MailFetcherService.java:599) @400000005452b56217b91ccc at com.atlassian.jira.service.services.mail.MailFetcherService$ErrorEmailForwarderImpl.forwardEmail(MailFetcherService.java:561) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:420) @400000005452b56217b92884 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:306) @400000005452b56217b93ff4 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:401) @400000005452b56217b943dc at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:261) @400000005452b56217b94bac at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:75) @400000005452b56217b972bc at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:53) @400000005452b56217b976a4 at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:36) @400000005452b56217b97a8c at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:135) @400000005452b56217b9825c at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)

      at com.atlassian.scheduler.core.JobLauncher.launch()
    2. com.atlassian.scheduler
      Quartz1Job.execute
      1. com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80)
      2. com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)
      2 frames