Article ID: 8019, created on Feb 1, 2010, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.3 for Linux/Unix


If a domain with the same name as the server's hostname exists in Parallels Panel, then message to the "postmaster@$HOSTNAME" mailbox will generate a mini mailloop.

Additional information

By default, in QMail aliases are working for a hostname, e.g. "postmaster@domain.tld" on a server with hostname "domain.tld". However, if the domain 'domain.tld' is defined in the "/var/qmail/controls/rcpthosts" file, then aliases from "/var/qmail/alias" stop working and QMail tries to deliver to local mailbox of the domain 'domain.tld'. Most of the time there are not mailbox with name 'postmaster' and error occurs: 
Jan 19 13:57:36 dmtalvdal qmail: 1263905856.563663 delivery 829938: failure: This_address_no_longer_accepts_mail./
This error generates error report and sends it to the "postmaster@HOSTNAME" mailbox, which also fails to deliver and also generates error report to the same "postmaster@HOSTNAME" box.


1) Replace /var/qmail/bin/qmail-queue and /var/qmail/bin/qmail-remote files with ones from the attachment,

2) Set appropriate permissions for these files:

# chown mhandlers-user:popuser /var/qmail/bin/qmail-queue
# chmod 2511 /var/qmail/bin/qmail-queue
# chown mhandlers-user:popuser /var/qmail/bin/qmail-remote
# chmod 2511 /var/qmail/bin/qmail-remote


165ec78c924fabffe1d80dc3eabc98c6 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF