How may the hostname, as used in the SMTP command HELO, sent by postfix, be configured through the free plug-in Mail Server?
Ideally, such a value could be configured independently for each mail domain.
Alternatively, the value could be taken as the FQDN configured for the domain associated with the mail user account invoked to process the outgoing message, based on the credential supplied by the SMTP client.
At the moment, the value appears to be taken from the first section of machine-wide domain name, registered by the kernel, without the suffixes of the FQDN.
Such behavior is leading to rejection by many mail servers, largely as among the methods being used to block spam.
See log entry below.
I have upgraded to the most recent release of the Mail Server, version 5.6. The installed release of aaPanel is also up to date, as version 7.0.13. The system is CentOS Linux 7, architecture x86_64, with all packages kept updated.
<timestamp> <myhostname> postfix/smtp[28136]: 21DC35591: to=<user@example.org>, relay=mail.example.org[11.22.33.44]:25, delay=7.3, delays=0.27/0.01/6.8/0.27, dsn=5.5.2, status=bounced (host mail.example.org[11.22.33.44] said: 504 5.5.2 <myhostname>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command))