• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Postfix says: MX: Host not found, try again

rgruyters

Basic Pleskian
Everytime Plesk installs updates users can't sent any e-mail after each update.
When a user tries to send an e-mail, the logfile shows:

Code:
Aug  6 07:10:06 server postfix/smtp[25791]: DB8D324D1D: to=<user@domain.tld>, relay=none, delay=0.22, delays=0.16/0.06/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=domain.tld type=MX: Host not found, try again)

I'm running Plesk version 11.5.30 Update #10 (last updated at Aug 6, 2013 07:10 AM) on a CentOS 6.4.
 
Make sure that /etc/resolv.conf contains any active nameserver.
 
Already checked and both nameservers resolve.

I noticed when I reboot the server the mail gets sent out, but this can't be a solution after each update.
 
Last edited:
We have the same problem at our company server. Postfix started to keep thing in the queue after upgrading to 11.5.30. All with the same problem;
"Host or domain name not found. Name service error for name=domain.tld type=MX: Host not found, try again"

Anyone got a solution?

EDIT:
I can resolve to hosts when; dig domain.tld mx
 
Last edited:
Same problem here also. Trouble started week or two ago, after an update. Now everytime plesk installs a new update al outgoing mails get stuck in de postfix queue.
The only thing that we can do then is rebooting the whole server.

Hope that the problem get fixed real quick.
 
As @ErnstR stated I can also resolve the MX record of the particular domain.

As @CompubaseS as well stated this problem started just a week ago. Our problem started since last Wednesday.
 
Maybe bind was not started? And after reboot bind start again?
 
Maybe bind was not started? And after reboot bind start again?

Bind isn't the problem. We don't have bind running, and after a reboot, when all the mails are send, bind stil isn't running.

Edit: we don't even have bind installed.
 
Last edited:
Output of

# tail -n 100 /usr/local/psa/var/log/maillog

with initial error message would be useful.
 
Output of

# tail -n 100 /usr/local/psa/var/log/maillog

with initial error message would be useful.

This is the log from yesterday when I try to send an email to my private emailaddress

Aug 6 13:25:08 server6 postfix/smtpd[21033]: connect from unknown[188.204.50.230]
Aug 6 13:25:08 server6 postfix/smtpd[21033]: 5D6FF24DD7: client=unknown[188.204.50.230], sasl_method=CRAM-MD5, sasl_username=jorg.vloet@compubase.nl
Aug 6 13:25:08 server6 postfix/cleanup[21036]: 5D6FF24DD7: message-id=<5200DD0B.2020406@compubase.nl>
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: handlers_stderr: SKIP
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: SKIP during call 'check-quota' handler
Aug 6 13:25:08 server6 qmail-queue[21039]: scan: the message(drweb.tmp.oJiIgF) sent by jorg.vloet@compubase.nl to jorg@jorgvloet.nl is passed
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: handlers_stderr: PASS
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: PASS during call 'drweb' handler
Aug 6 13:25:08 server6 postfix/qmgr[1478]: 5D6FF24DD7: from=<jorg.vloet@compubase.nl>, size=792, nrcpt=1 (queue active)
Aug 6 13:25:08 server6 postfix/smtp[21024]: 5D6FF24DD7: to=<jorg@jorgvloet.nl>, relay=none, delay=0.36, delays=0.36/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=jorgvloet.nl type=MX: Host not found, try again)
Aug 6 13:25:08 server6 postfix/smtpd[21033]: disconnect from unknown[188.204.50.230]
 
This is the log from yesterday when I try to send an email to my private emailaddress

Aug 6 13:25:08 server6 postfix/smtpd[21033]: connect from unknown[188.204.50.230]
Aug 6 13:25:08 server6 postfix/smtpd[21033]: 5D6FF24DD7: client=unknown[188.204.50.230], sasl_method=CRAM-MD5, sasl_username=jorg.vloet@compubase.nl
Aug 6 13:25:08 server6 postfix/cleanup[21036]: 5D6FF24DD7: message-id=<5200DD0B.2020406@compubase.nl>
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: handlers_stderr: SKIP
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: SKIP during call 'check-quota' handler
Aug 6 13:25:08 server6 qmail-queue[21039]: scan: the message(drweb.tmp.oJiIgF) sent by jorg.vloet@compubase.nl to jorg@jorgvloet.nl is passed
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: handlers_stderr: PASS
Aug 6 13:25:08 server6 /usr/lib64/plesk-9.0/psa-pc-remote[1237]: PASS during call 'drweb' handler
Aug 6 13:25:08 server6 postfix/qmgr[1478]: 5D6FF24DD7: from=<jorg.vloet@compubase.nl>, size=792, nrcpt=1 (queue active)
Aug 6 13:25:08 server6 postfix/smtp[21024]: 5D6FF24DD7: to=<jorg@jorgvloet.nl>, relay=none, delay=0.36, delays=0.36/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=jorgvloet.nl type=MX: Host not found, try again)
Aug 6 13:25:08 server6 postfix/smtpd[21033]: disconnect from unknown[188.204.50.230]

The MU11 has been released today
CompubaseS, could you please provide us the _output_ of the command below if the problem with same error in log will be reproduced again:
Code:
 # dig domain.tld mx

//where <domain.tld> is the domain where you are trying to send email
 
We've installed MU11 and it seems the problems have been solved. Can anyone confirm this?

Just installed MU11 and it didn't give any problems with the mailqueue. For the time beeing we will keep updating plesk manualy until we are shure the problem doesn't come back.
 
On our Plesk panel, the MU11 hasn't yet shown up. Can we force this?

# /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
 
OS CentOS 6.2 (Final)
Panel version 11.5.30 Update #11, last updated at Aug 12, 2013 06:14 PM

Still see the issues

Aug 12 18:15:44 xxxxx postfix/smtp[4760]: B9054154D1A3: to=<support@xxxxx.com>, relay=none, delay=0.6, delays=0.54/0.06/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=xxxxx.com type=MX: Host not found, try again)
 
Back
Top