JIRA 7 has landed! Are you an existing JIRA user with questions about upgrading? Visit the Migration Hub for information about upgrading to new JIRA applications

Skip to end of metadata
Go to start of metadata


JIRA fails to send an email message stating:


The server's hostname is not set. JIRA is sending the server's IP address instead.


Resolutions include:

  1. Refer to your system's documentation to set the hostname correctly.
  2. Alternatively, add an entry in /etc/hosts.
  3. If this doesn't work, pass the hostname to JIRA specifically.

See Problems Sending Email from JIRA - EHLO requires domain address for details.

Help us improve!
Is this article helpful?
Is it well written?
Is the content complete?

1 Comment

  1. if you add a hostname to /etc/hosts, you have to restart jira/confluence