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 auser@adomain.com: Relay access denied

at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:213)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:150)
at com.atlassian.jira.plugins.mail.webwork.SendTestMail.doExecute(SendTestMail.java:107)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)

.
.
.

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

-Brian

Adding this line to the postfix config (/etc/postfix/main.cf) 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.