• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Email rejected: HELO domain does not resolve

LMAR6

New Pleskian
Hi!

I new help reconfiguring Postfix because a specific mailfilter doesn't accept mails from our server.

Plesk Version: Version 17.5.3 Update #7
Hostname: server.my-host.com (example, rDNS is set)
HELO domain: server.localdomain
Outgoing mail mode: Send from domain IP addresses

Error
Code:
host abc.dfe.com[xx.xxx.xxx.xx] said: 554 5.7.1
    <server.localdomain>: Helo command rejected: HELO domain does not resolve
    to you (in reply to RCPT TO command)

Why does Postfix use server.localdomain? I thought "The host name used in the SMTP greeting is the Plesk server host name specified in Tools&Settings > Server Settings", which is server.my-host.com...

Any ideas how to adjust the HELO to server.my-host.com (which should be the correct Helo, shouldn't it)?

Thanks in advance!

Edit: Sorry, noticed I used the wrong forum....
 
Last edited:
Nevermind.

I don't no why, but the hostname was not properly set. It was only "server" so I guess Postfix added localdomain, cause it wasn't a fqdn.

The hostname in plesk settings was server.my-host.com (but /etc/hostname only contained server). Updating the hostname wasn't successful (no changes), so I first changed the hostname to something different and after that replaced with the right one and saved. Now /etc/hostname contains server.my-host.com and Postfix also uses this name for Helo. Mailfilter does now accept the mail. Just in case anybody gets the same problem.
 
I think this is an bug. I had this issue on
CentOS Linux 7.4.1708 (Core)‬
Plesk Onyx 17.5.3 Update #41

It seems to occure when using a hostname with 2 labels only (e.g. example.com) and preconfigured the server correctly so that "$ hostname" echoes "example" and "$ hostname -f" echoes example.com.
 
There must be a bug here, and I am super disappointed with Plesk. Yesterday I migrated my old Plesk-managed mail server running CentOS 7 to a new Debian 12 server.

Even though my server already had a hostname set, the Plesk install changed it to this silly random name, and although I removed the silly name from /etc/hosts and reset the hostname, I am still getting the silly name in the SMTP greetng when I log in via telnet.

220 xenodochial-faraday.xxx-xxx-xxx-xxx.plesk.page ESMTP Postfix (Debian)

I have DKIM and all the other DNS requirements for a mail server set up correctly, but last night I did not receive any mail. So I went through the Mail Server Settings again today, and many of the other settings, but this is not being fixed. I still cannot receive mail. This is a major inconvenience.
 
Back
Top