Smtp; 550 Please use a fully-qualified domain name for HELO/EHLO

Hi all!

when trying to write to email [email protected] through the mail server on hestia, we get the answer:

Action: failed
Final-Recipient: rfc822;[[email protected]]
Status: 5.0.0
Remote-MTA: dns; mail.hetzner.company
Diagnostic-Code: smtp; 550 Please use a fully-qualified domain name for HELO/EHLO

how to fix? because you need to communicate with hoster support :frowning:

Reads like you’re not using a fqdn? Vaildate you hostname.

cat /etc/hostname

email.domain.tld (changed for security)

p.s. the hostname was set before the control panel was installed, and a reverse dns zone was added - so I don’t even understand what could be the matter!

check the exim mainlog, probaly somewhere is a invalid fqdn set.

2023-02-04 22:23:15 1pOLJr-00Goxt-5o <= info@********** H=email.domain.tld (webmail.) [127.0.0.1] P=esmtpa A=dovecot_login:info@****** S=983 id=7dbdb58f4b0051f3aaa242ccccdc3663@************
2023-02-04 22:23:19 1pOLJr-00Goxt-5o ** [email protected] R=dnslookup T=remote_smtp H=mail.hetzner.company [213.133.106.242] X=TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=yes: SMTP error from remote mail server after pipelined end of data: 550 Please use a fully-qualified domain name for HELO/EHLO
2023-02-04 22:23:19 1pOLJv-00GoyJ-3J <= <> R=1pOLJr-00Goxt-5o U=Debian-exim P=local S=2528
2023-02-04 22:23:19 1pOLJr-00Goxt-5o Completed
2023-02-04 22:23:19 1pOLJv-00GoyJ-3J => info <info@**********> R=localuser T=local_delivery
2023-02-04 22:23:19 1pOLJv-00GoyJ-3J Completed

here is the whole part of the log

Trying 142.132.xxx.xxx...
Connected to email.domain.com
Escape character is '^]'.
220 Ubuntu-2004-focal-64-minimal

How does /etc/hosts/ look like?

And /etc/hostname

there was an error in the hosts (I confess) there was a default name … Thank you for pointing out my inattention!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.