Search

Search for:
Language:  

No categories for selected product

I get a bounce message which states that mail cannot be delivered to the destination address because of MX or A records for the domain point to the local Plesk server but there is no such domain in the Qmail control files.

Article ID: 1380 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel for Linux/Unix

Symptoms

You get a bounce message like below or similar errors present in the mail log:

<user@domain.tld>: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as a local file. (#5.4.6)

Cause

When a domain is created in Plesk, the domain name is added to ...qmail/control/rcpthosts and ...qmail/control/virtualdomains files to specify that the domain is local (virtualdomains file) and messages to it should be accepted without authorization (rcpthosts file).

So when you see the error "I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file," it may happen because of several reasons:

- the domain really does not exist in Plesk, but the domain's DNS points to your server as the domain's MX
- the domain exists but domain.com > Mail > Disable option was chosen in the Plesk interface
- the domain exists and the domain was added to the above files but Qmail failed to restart (Qmail reads these files during start-up only)
- the domain exists but the domain was not added to the above files because of some failure during domain creation or the files were modified manually.

Resolution

If the domain really exists in Plesk and the Mail service is enabled for it, you can rebuild Qmail configuration files using the /usr/local/psa/admin/sbin/mchk utility.

The "listed as a best-preference MX" error happens with system messages sent to addresses like root@hostname or postmaster@hostname. Usually people do not add `hostname` domain into Plesk and Qmail does not know where to deliver various system reports and such messages stall in the queue while they are dropped. The simplest solution is to create a 'hostname' domain in Plesk without any hosting and create a root@ mailaccount with aliases postmaster@, anonymous@, DrWEB-DAEMON@. etc. and redirect it to some real mailbox. Or it is even simpler not to enable either mailbox or forward option for this account. In this case, all messages to the account will be accepted but dropped immediately.





Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products