504 Error Setting up SMTP Server

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

An error occurs when sending a test email:

com.atlassian.mail.MailException: javax.mail.MessagingException: 504 Command parameter not implemented

	at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:191)
	at com.atlassian.confluence.admin.actions.mail.SendTestEmailAction.execute(SendTestEmailAction.java:52)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)

Cause

The host name is not set to the FQDN (Fully Qualified Domain Name).

Resolution

  1. Use the "hostname" command to set the host to the FQDN (Fully Qualified Domain Name).
  2. Change:

    % hostname
    myhost
    

    To:

    % hostname
    myhost.mydomain.com
    

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.