email notifications error - dns issue - upgrade to Arrakis

  • ** Update - Solved **


    The issue was solved by editing /etc/postfix/mainf.cf and changing line inet_interfaces = loopback-only as follows:


    Code
    inet_interfaces = localhost

    -------------------------------------------------------------------------------------
    Hi,


    Immediately following my upgrade to arrakis several months ago, email notifications broke. As I use gmail's smtp server and account settings, I verified settings, and attempting a clean reconfigure using a new 2 factor app password, but without success.


    Taking a look at /var/log/mail.log reveals:

    Code
    status=deferred (Host or domain name not found. Name service error for name=smtp.gmail.com type=MX: Host not found, try again)


    I have verified (and tried other dns servers) that /etc/resolve.conf is populated correctly:

    Code
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    search google.com


    I have also installed dnsutils to do an MX check:



    If someone could point me in the direction of the solution, I would greatly appreciate it!


    Respectfully,

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!