SMTP Issue After Migrate From Cloud to JIRA Server
Problem
After migrating from JIRA cloud to server mails stuck in the mail queue
The following appears in the atlassian-jira-outgoing-mail.log:
2015-08-04 11:17:10,032 ERROR [] Sending mailitem To='xxxxx@xxxx.com' Subject='(CMS-136) test' From='jira@xxxxxx.atlassian.net' FromName='Sam Omidi (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.11700.1438657574000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@3964f166' MessageId='null' anonymous Mail Queue Service Error occurred in sending e-mail: To='xxxxx@amristar.com' Subject='(CMS-136) test' From='jira@xxxxx.atlassian.net' FromName='Sam Omidi (JIRA)' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.11700.1438657574000@Atlassian.JIRA>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@3964f166' MessageId='null'
com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
...
...
Caused by: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1873)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1120)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:175)
... 18 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1724)
... 20 more
Cause
This is because the outgoing mail configuration is still set for Cloud Outgoing mail.
By looking at the from part in the stack trace. The outgoing mail is still from JIRA Cloud.
From='jira@xxxxxx.atlassian.net'
Configuration needs to be done for outgoing mail according to JIRA server settings.
Resolution
Configure the outgoing mail by referring to below document:
Last modified on Sep 19, 2022
Powered by Confluence and Scroll Viewport.