bamboo email "from" address is not FQDN

Hi,

Seems that bamboo doesn't use it's FQDN when sending email, which causes issues with our SMTP server. (and, I suspect would do the same for others)

error shown is:

The mail settings you entered were not valid. Error thrown was: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 504 5.5.2 <bamboo>: Helo command rejected: need fully-qualified hostname

 

Could this be enabled, or could you suggest a workaround?

It seems sensible for bamboo to use a FQDN when sending email.

 

2 answers

Well, if anyone else is looking for a fix, something like this would work:

sudo postconf -e "smtpd_helo_restrictions = permit_mynetworks reject_invalid_helo_hostname reject_non_fqdn_helo_hostname"

sudo postfix reload

the key section is 'permit_mynetworks' - I needed to add the bamboo IP to 'mynetworks'

But it would be great if Atlassian would make bamboo use a FQDN when sending emails. 

Source; http://labs.hoffmanlabs.com/node/1856

Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <Ampptech@crest.in>: Recipient address rejected: address does not exist in this domain I have facing this issue on windows 2008 R2 Virtual Server, Can you suggest why this is happening.

Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <Ampptech@crest.in>: Recipient address rejected: address does not exist in this domain I have facing this issue on windows machine.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,316 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you