Even when everything outgoing server was configured correctly and is currently registered and active, no email are sent from Jira.
When testing, we get this error:
com.sun.mail.smtp.SMTPAddressFailedException: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname
But the hostname is correctly configured like n1.domain.com.
We cannot find the place from within Jira where this parameter is configured.
Just to clarify, Jira was installed before the server configuration was finished, so it seems like Java does not recover the correct hostname.