Hello,
after modifications related to BIND9 (replaced by Unbound) and NDS (service stopped) I cannot send any emails.
Here’s the error message in /var/log/mail.log
:
Jan 21 00:51:07 miab postfix/smtp[942335]: 4179B42854: to=<test-wtxsnl0ks@srv1.mail-tester.com>, relay=none, delay=0.45, delays=0.2/0.25/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=srv1.mail-tester.com ty
pe=MX: Host not found, try again)
This is pointing to an issue related to name resolution, however dig
returns correct IP:
❯ dig mail-tester.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> mail-tester.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64276
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;mail-tester.com. IN A
;; ANSWER SECTION:
mail-tester.com. 3016 IN A 94.23.206.89
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Sun Jan 21 01:03:10 CET 2024
;; MSG SIZE rcvd: 60
Can you please advise how to troubleshoot this issue?