Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.0.5, 7.0.4
-
6
-
5
-
Severity 3 - Minor
-
0
-
Description
Original Claim from customer:
Scheduled log scan does not succeed in sending me an email because MAIL FROM field contains noreply@atlassian.com, and my mail server rejects emails. I couldn't find out how to configure this email address in JIRA. SMTP configuration mail from address is set to other email address. All other (project related) emails are successfully sent. Here is a part of debug outgoing mail log file:
And below is seen in the logs:
2013-11-20 13:26:30,639 ERROR [Mozzart POP] Sending mailitem com.atlassian.support.tools.salext.mail.SimpleSupportMailQueueItem@1a8d597f milovan 806x9587835x3 1t0xmj 192.168.182.52 /secure/admin/MailQueueAdmin.jspa Error occurred in sending e-mail: com.atlassian.support.tools.salext.mail.SimpleSupportMailQueueItem@1a8d597f com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 530 <noreply@atlassian.com>, Authentication does not match this account 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.SimpleSupportMailQueueItem.send(SimpleSupportMailQueueItem.java:15) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
Upon confirmation, configuring the schedule log scan and enable the debug log shows the following result:
Expected: the mail is sent with the email that is configured on the SMTP outgoing mail server email address.
Actual Result
It follows the below template:
From: noreply@atlassian.com To: xxxx@yyyy.com Message-ID: <988686800.0.1385392057951.JavaMail.richie@Richie-PC> Subject: [JIRA]TEST Log scan results for 2013-11-25... MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk Auto-Submitted: auto-generated <HTML> <HEAD> </HEAD> <BODY> <DIV CLASS="message_box" style='border: solid 1px #DEDEDE;background: #EAFFEF;color: #222222;padding: 4px;padding-left: 1em;'> This is a report generated by a regular scan of your JIRA instance for known problems.. <p>Found 3 known problems in the log file atlassian-jira.log (see below for details).</p> <UL> <LI><A HREF="https://confluence.atlassian.com/display/JIRAKB/JIRA+not+Functioning+due+to+IllegalStateException+zip+file+closed+error?utm_source=STP&utm_medium=scheduledLogScan">JIRA not Functioning due to IllegalStateException zip file closed error</A></LI> <LI><A HREF="https://jira.atlassian.com/browse/JRA-24453?utm_source=STP&utm_medium=scheduledLogScan">Unable to read bytes error on JIRA startup</A></LI> <LI><A HREF="https://confluence.atlassian.com/display/JIRAKB/Multiple+Redmine+projects+with+the+same+name+will+lead+to+error+when+importing+to+JIRA?utm_source=STP&utm_medium=scheduledLogScan">Multiple Redmine projects with the same name will lead to error when importing to JIRA</A></LI> </UL> <p>If you no longer wish to receive these reports, contact your JIRA administrator.</p> </DIV> </BODY> </HTML>
As you can see, the From field is populated with noreply@atlassian.com for default and it might hit into problem if the customer's mail server has domain checking and you might see the error on logs like earlier which is returned from the mail server.