Plesk

Emails sent to a domain that is hosted in Plesk are bounced back: mail for example.com loops back to myself

Symptoms

Cause

Default DNS server returns incorrect answers if the affected domain is queried, as a result, Postfix tries to connect to itself.

Resolution

  1. Connect to the server via SSH

  2. Change the DNS server (nameserver) in /etc/resolv.conf file to a valid DNS server, such as 1.1.1.1:

    # cat /etc/resolv.conf
    nameserver 1.1.1.1

    Note: Remove localhost or 127.0.0.1 if it is configured as a nameserver in /etc/resolv.conf file.

    Note: If this file is managed by an external program, such as NetworkManager, or resolvconf, configuration of the respective program should be modified.

Related Articles