504 Error Setting up SMTP Server
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
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
- Use the "hostname" command to set the host to the FQDN (Fully Qualified Domain Name).
Change:
% hostname myhost
To:
% hostname myhost.mydomain.com
Last modified on Jan 23, 2025
Powered by Confluence and Scroll Viewport.