Article ID: 115013, created on Oct 24, 2012, last review on Aug 12, 2014

  • Applies to:
  • Plesk 11.x for Linux


When mail configuration is rebuilt on SuSE 12.1, hostname of the local mail server becomes incorrect:

# cat /var/qmail/control/me
# /usr/local/psa/admin/sbin/mchk
# cat /var/qmail/control/me

Mchk can also be run by the Parallels Plesk Panel updater. As a result any updates installation may lead to the following:
  • Incomplete hostname in /var/qmail/control/me
  • Hostname in HELO/EHLO responses of the mail server will be either 'localhost.localdomain' (Postfix) or a short name with a dot at the end (QMail).
  • Outgoing mail from my server gets rejected by some mail servers, because my server's hostname is not a FQDN and cannot be resolved back to its IP address.


On SuSE, mail server hostname is set by /etc/init.d/boot.localnet script. Hostname us taken from /etc/HOSTNAME (where it can be FQDN) and everything is stripped to the right side of the first dot.


The issue will be fixed in a future update for which a new Knowledgebase article will be created. You may subscribe for new articles on Parallels Plesk Panel Product if you wish to receive notifications about their creation.


After each operation which potentially requires mail configuration rebuilding (updates/upgrades), manually restore mail server hostname from the /etc/hostname file. You may use this command:

# cat /etc/hostname > /var/qmail/control/me

0a53c5a9ca65a74d37ef5c5eaeb55d7f 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF