email notifications error - dns issue - upgrade to Arrakis

    • Resolved
    • OMV 4.x
    • 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:

      Source Code

      1. 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:

      Source Code

      1. 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:

      Source Code

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

      I have also installed dnsutils to do an MX check:

      Source Code

      1. # dig smtp.gmail.com
      2. ; <<>> DiG 9.10.3-P4-Debian <<>> smtp.gmail.com
      3. ;; global options: +cmd
      4. ;; Got answer:
      5. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57894
      6. ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
      7. ;; OPT PSEUDOSECTION:
      8. ; EDNS: version: 0, flags:; udp: 512
      9. ;; QUESTION SECTION:
      10. ;smtp.gmail.com. IN A
      11. ;; ANSWER SECTION:
      12. smtp.gmail.com. 299 IN CNAME gmail-smtp-msa.l.google.com.
      13. gmail-smtp-msa.l.google.com. 299 IN A 74.125.28.108
      14. gmail-smtp-msa.l.google.com. 299 IN A 74.125.28.109
      15. ;; Query time: 47 msec
      16. ;; SERVER: 8.8.8.8#53(8.8.8.8)
      17. ;; WHEN: Mon Aug 13 17:07:03 PDT 2018
      18. ;; MSG SIZE rcvd: 113
      Display All

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

      Respectfully,

      The post was edited 1 time, last by ransur0t: solved ().

    • Will be fixed with openmediavault 4.1.10, see github.com/openmediavault/open…306a2cddb207ce803cc2b2149.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit