com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session

Atlassian JIRA | Marcus Silveira [Atlassian] | 1 year ago
  1. 0

    h3. Summary Sharing a search result from the Issue Navigator fails when the user's address doesn't have permission to authenticate on the mail server h3. Steps to Reproduce # Log into JIRA with a user that has an e-mail address unable to authenticate on the mail server # Share an Issue navigator result h3. Expected Results Shared results are sent h3. Actual Results The below exception is thrown in the xxxxxxx.log file: {noformat} 2015-11-25 13:24:11,318 DEBUG [] Sending mailitem To='user@domain.com' Subject='Logged User shared the filter "Report" with you' From='LoggedUser@domain.com' FromName='Logged User (JIRA)' Cc='null' Bcc='null' ReplyTo='LoggedUser@domain.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@60486abb' MessageId='null' anonymous Mail Queue Service Sending message 2015-11-25 13:24:11,552 ERROR [] Sending mailitem To='user@domain.com' Subject='Logged User shared the filter "Report" with you' From='LoggedUser@domain.com' FromName='Logged User (JIRA)' Cc='null' Bcc='null' ReplyTo='LoggedUser@domain.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@60486abb' MessageId='null' anonymous Mail Queue Service Error occurred in sending e-mail: To='user@domain.com' Subject='Logged User shared the filter "Report" with you' From='LoggedUser@domain.com' FromName='Logged User (JIRA)' Cc='null' Bcc='null' ReplyTo='LoggedUser@domain.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@4b187b5f' MessageId='null' com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:213) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) at com.atlassian.jira.mail.builder.RenderingMailQueueItem.send(RenderingMailQueueItem.java:40) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:57) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:53) at com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:127) at com.atlassian.jira.util.DefaultBaseUrl.runWithStaticBaseUrl(DefaultBaseUrl.java:58) at com.atlassian.jira.mail.JiraMailQueue.sendBuffer(JiraMailQueue.java:52) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:30) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:77) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:54) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:37) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session 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:175) ... 19 more {noformat}

    Atlassian JIRA | 1 year ago | Marcus Silveira [Atlassian]
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session
  2. 0

    h3. Summary Sharing a search result from the Issue Navigator fails when the user's address doesn't have permission to authenticate on the mail server h3. Steps to Reproduce # Log into JIRA with a user that has an e-mail address unable to authenticate on the mail server # Share an Issue navigator result h3. Expected Results Shared results are sent h3. Actual Results The below exception is thrown in the xxxxxxx.log file: {noformat} 2015-11-25 13:24:11,318 DEBUG [] Sending mailitem To='user@domain.com' Subject='Logged User shared the filter "Report" with you' From='LoggedUser@domain.com' FromName='Logged User (JIRA)' Cc='null' Bcc='null' ReplyTo='LoggedUser@domain.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@60486abb' MessageId='null' anonymous Mail Queue Service Sending message 2015-11-25 13:24:11,552 ERROR [] Sending mailitem To='user@domain.com' Subject='Logged User shared the filter "Report" with you' From='LoggedUser@domain.com' FromName='Logged User (JIRA)' Cc='null' Bcc='null' ReplyTo='LoggedUser@domain.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@60486abb' MessageId='null' anonymous Mail Queue Service Error occurred in sending e-mail: To='user@domain.com' Subject='Logged User shared the filter "Report" with you' From='LoggedUser@domain.com' FromName='Logged User (JIRA)' Cc='null' Bcc='null' ReplyTo='LoggedUser@domain.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@4b187b5f' MessageId='null' com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:213) at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) at com.atlassian.jira.mail.builder.RenderingMailQueueItem.send(RenderingMailQueueItem.java:40) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:57) at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:53) at com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:127) at com.atlassian.jira.util.DefaultBaseUrl.runWithStaticBaseUrl(DefaultBaseUrl.java:58) at com.atlassian.jira.mail.JiraMailQueue.sendBuffer(JiraMailQueue.java:52) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:30) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66) at com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:77) at com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:54) at com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:37) at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136) at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101) at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80) at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32) at org.quartz.core.JobRunShell.run(JobRunShell.java:223) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session 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:175) ... 19 more {noformat}

    Atlassian JIRA | 1 year ago | Marcus Silveira [Atlassian]
    com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 Sender address not allowed for this authenticated session
  3. 0

    How to use a custom HeaderFilterStrategy with Apache Camel Email component

    Stack Overflow | 3 years ago | samlewis
    com.sun.mail.smtp.SMTPSendFailedException: 554 Transaction failed: Illegal header 'breadcrumbId'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JavaMail and Office 365

    Stack Overflow | 1 year ago | Evanilson Abril
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.office365.com:587
  6. 0

    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first

    Stack Overflow | 2 years ago | singhakash
    org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:587

  1. abrazeneb 1 times, last 4 months ago
39 unregistered visitors
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.sun.mail.smtp.SMTPSendFailedException

    554 Sender address not allowed for this authenticated session

    at com.sun.mail.smtp.SMTPTransport.issueSendCommand()
  2. JavaMail API (compat)
    SMTPTransport.sendMessage
    1. com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2114)
    2. com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1900)
    3. com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1122)
    3 frames
  3. com.atlassian.mail
    SingleMailQueueItem.send
    1. com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:175)
    2. com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44)
    2 frames
  4. com.atlassian.jira
    RenderingMailQueueItem.send
    1. com.atlassian.jira.mail.builder.RenderingMailQueueItem.send(RenderingMailQueueItem.java:40)
    1 frame
  5. com.atlassian.mail
    MailQueueImpl.sendBuffer
    1. com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
    1 frame
  6. com.atlassian.jira
    ServiceRunner.runJob
    1. com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:57)
    2. com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:53)
    3. com.atlassian.jira.util.velocity.DefaultVelocityRequestContextFactory.runWithStaticBaseUrl(DefaultVelocityRequestContextFactory.java:127)
    4. com.atlassian.jira.util.DefaultBaseUrl.runWithStaticBaseUrl(DefaultBaseUrl.java:58)
    5. com.atlassian.jira.mail.JiraMailQueue.sendBuffer(JiraMailQueue.java:52)
    6. com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:30)
    7. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:66)
    8. com.atlassian.jira.service.ServiceRunner.runService(ServiceRunner.java:77)
    9. com.atlassian.jira.service.ServiceRunner.runServiceId(ServiceRunner.java:54)
    10. com.atlassian.jira.service.ServiceRunner.runJob(ServiceRunner.java:37)
    10 frames
  7. com.atlassian.scheduler
    Quartz1Job.execute
    1. com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136)
    2. com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)
    3. com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80)
    4. com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)
    4 frames
  8. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:223)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
    2 frames