Applicable to:
- Plesk for Linux
Symptoms
-
Unable to send or receive e-mails from remote mail addresses.
-
Customer in Plesk is unable to access Plesk Email Security extension, the following error message is displayed:
Hostname is not valid. Please set a hierarchical, dot-separated domain as the hostname!
-
The following error messages can be found in /var/log/maillog:
hostname postfix/smtpd[36515]: NOQUEUE: reject: RCPT from unknown[203.0.113.2]: 450 4.7.25 Client host rejected: cannot find your hostname, [203.0.113.2]; from=sender@example.net.com to=receiver@example.com proto=ESMTP helo=<info.example.com>
OR
Nov 12 02:10:38 postfix/error[29408]: BA72F106ECA4: to=johndoe@example.com, relay=none, delay=105489, delays=105488/0.19/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Cause
The server hostname must be a fully qualified domain name (FQDN). The hostname may either be incorrectly configured in Tools & Settings > Server Settings > Hostname or via hostname command.
Resolution
-
Go to Tools & Settings > Server Settings and set a Full hostname.
If hostname already set, change it to some random one (ex. test.example.com) and then change back to correct hostname. This will trigger the change to/etc/hostname
as well. -
Open Plesk Email Security in Extensions > My extensions > Plesk Email Security > Open
-
Click the button Install Now!
Comments
6 comments
Hi there,
I did your recommended steps but I have and always had an FQDN and after reinstalling the extinsion it still says I would have an invalid hostname.
Do you have any further suggestions?
Doesnt work for me. How can i fix it?
@Oliver Latson @Til Wegener
Check the /etc/hostname file: it may be edited manually, so Plesk is showing an FQDN hostname, while in fact it is changed to non-FQDN.
If /etc/hostname also has an FQDN hostname, please create a request to our support and we will investigate the issue further.
@... Thank you, that was the solution.
Hi Alisa,
yes I can confirm it also.
Thank you for your advice.
I seperately had to install libdbd-mysql-perl but then I was able to start amavis service and reinstall the Plesk email security extension.
J'ai eu le même chose
J ai copier coller le host name toujours rien ..
Puis j ai recopier manuellement sans le point-virgule
Maintenant tous est ok
Please sign in to leave a comment.