Using mail-in-a-box for jira outbound email

Hi there,
I can connect from my jira instance to my mail-in-a-box just fine, but when I tell jira to send a mail with it, it fails with an error.

An error has occurred with sending the test email:
com.atlassian.mail.MailException: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 Relay access denied

at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(
at com.atlassian.jira.plugins.mail.webwork.SendTestMail.doExecute(
at webwork.action.ActionSupport.execute(


Is there some chance another user has run into this? Perhaps an easy fix? Many thanks for your advice.


Adding this line to the postfix config (/etc/postfix/ enabled the relay.

mynetworks = n.n.n.n

This is the elastic IP of the jira web box.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.