Forums

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

Trouble configure email with AWS-SE

DEV EGB LAB
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 4, 2019

I have installed jira server in AWS EC2 and setting SMTP configuration to use AWS SES.

I can send and receive test email from smtp configuration page, but inviting users with email is always failed with below exceptions:

2019-11-04 09:28:37,639 ERROR [] Sending mailitem To='xxxxxx@gmail.com' Subject='Jira? ????? ???????.' From='null' FromName='My Name (Jira)' Cc='null' Bcc='null' ReplyTo='xxxxxxxxx@gmail.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@435e1d52' MessageId='null' ExcludeSubjectPrefix=false' xxxxxxxx 568x304x1 1tm7aar 106.246.190.107 /secure/admin/MailQueueAdmin.jspa Error occurred in sending e-mail: To='xxxxxx@gmail.com' Subject='Jira? ????? ???????.' From='null' FromName='My Name (Jira)' Cc='null' Bcc='null' ReplyTo='xxxxxxxx@gmail.com' InReplyTo='null' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@7ac9abbc' MessageId='null' ExcludeSubjectPrefix=false'

com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: xxxxx@gmail.com

at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:222) [atlassian-mail-5.0.0.jar:?]
at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44) [atlassian-mail-5.0.0.jar:?]
at com.atlassian.jira.mail.builder.RenderingMailQueueItem.send(RenderingMailQueueItem.java:33) [classes/:?]
at com.atlassian.mail.queue.MailQueueImpl.sendBufferUnderLock(MailQueueImpl.java:103) [atlassian-mail-5.0.0.jar:?]
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:56) [atlassian-mail-5.0.0.jar:?]
at com.atlassian.jira.mail.JiraMailQueue$1.apply(JiraMailQueue.java:51) [classes/:?]
...

 

It seems to be that 'null' From address causes this problem..

Is there needed some additional configure in SMTP or AWS SES?

Any help appreciated!

 

jira version: 8.5.0

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2019

Hi,

Welcome to our Atlassian Community.

I understand that you are trying to configure Jira in an AWS instance and in the process of trying to send email with the AWS service you are seeing this SMTP error.  That specific error code (554) is something that is explained in the AWS developer guide documentation, check out SMTP Response Codes Returned by Amazon SES.

Unverified email address

554 Message rejected: Email address is not verified. The following identities failed the check in region region: identity0, identity1, identity2

You're trying to send email from an email address or domain that isn't verified to send email from your Amazon SES account. This error could apply to the "From", "Source", "Sender", or "Return-Path" addresses. If your account is still in the sandbox, you also have to verify every recipient email address (except for the recipients provided by the Amazon SES mailbox simulator). If Amazon SES isn't able to show all of the identities that failed the verification check, the error message ends with three periods (...).

Note

Amazon SES has endpoints in several AWS Regions, and email address verification status is separate for each AWS Region. You have to complete the verification process for each sender in the AWS Regions that you want to use.

It certainly looks like the Amazon SES requires you to first verify the email address in the region in question.  Steps to do that are found in https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html

Try following those steps for this email address.  That should then permit Jira to use that mailbox to send mail.

Let me know if you run into any problems with those steps.

Andy

Suggest an answer

Log in or Sign up to answer