I recently upgraded our Jira to 5.2 on a test linux server, it brought forward our existing SMTP configuration for outgoing mail, however the mail will not work, I can't even get the test mail to send.
Interestingly, the in-between upgrade to 4.4 (we were originally 4.1.2) was able to send the test mail successfully when I tried it.
The error given in the log upon trying to send the test mail is:
An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
(can provide full stack trace if needed)
Does anyone have any experience with this error or ideas on how to solve it?
I have the same problem. Sending a test email works in JIRA 4.4, nothing to do with JIRA projects just at the email configuration. Upgrading to 5.2 produced the same error message. I reset the authentication credentials were are using with Exchange but the error still occurred. Test Connection reported no problems.
Aha! Making the from address the same as the authentication user made this work. Looks like with JIRA 5.2 you can't send authenticated email via Exchange unless you make the sender the same as the Exchange user. Not sure how this will work with the per-project From addresses.
Can you just cross check whether you are using same user for authenticaion of your mail server and sending mail at project level?
Similar issue we faced. In our scenario we were authenticating with mail server using one id (ID1)and at the project level we used different id (ID2)for sending mails. so it thrown error.
Can you try to send a test mail from mail server config and check whether it is working fine. Then the problem from mail server.
You can ask your mail server team to grant permission to ID2 for sending mails as ID1.
Did you use Exchange? Maybe this link will help
Its german but in summary:
The problem is in the configuration of the mailaccount.
The account needs the permission to send mails as SELF.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot