Mail queue contains deferred emails: Host or domain name not found

Created:

2016-11-16 12:52:15 UTC

Modified:

2017-06-19 22:02:37 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Mail queue contains deferred emails: Host or domain name not found

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. There are deferred emails in Tools and Settings > Mail Server Settings > Mail Queue , that failed to be sent to @example.com address.

  2. The following error is shown in /var/log/maillog :

    status=deferred (Host or domain name not found. Name service error for name=example.com type=MX: Host not found, try again
  3. Remote host cannot be resolved from the Plesk server:

    # dig example.com +short
    # dig example.com mx +short
  4. Remote host can be resolved from a different server:

    # dig example.com +short
    10.10.10.10

    # dig example.com mx +short
    10 mail.example.com

Cause

Plesk is configured to use a DNS server that cannot resolve DNS names or there are no DNS servers configured in /etc/resolv.conf .

Resolution

Contact your system administrator to configure DNS properly.

Workaround

Add a Google DNS in /etc/resolv.conf:

# cat /etc/resolv.conf
nameserver 8.8.8.8

Additional information

Postfix has stopped sending mails: status=deferred, Host or domain name not found

Have more questions? Submit a request
Please sign in to leave a comment.