Hello, I have reverse DNS [Not Set] (IPv6) and my ISP says they do not support IPv6 PTR record. This results in mails bouncing from some services, e.g. freenet.de:
host emig.freenet.de[2001:748:100:40::8:118] said:
550-inconsistent or no DNS PTR record for 2a03:xx::1 (see RFC
1912 550 2.1) (in reply to RCPT TO command)
Changed inet_protocols = all to ipv4 in /etc/postifx/main.cf.
MIAB complains about missing IPv6, but mails to freenet.de work. I will have to do it again on update.
Cheers, Jarek
Disabling IPv6 in postfix is not the best solution, clients will still try to connect via IPv6. A better solution is to disable IPv6 of the box in the DNS, but this is a bit tricky, I had to dig around a bit.
edit /etc/mailinabox.conf, clearing the PUBLIC_IPV6 setting (# comments do not work here)
restart the box or the daemon (service mailinabox restart), so that the new environment gets loaded
force the update of the zone files by curl -s -d --force --user <user>:<pass> http://127.0.0.1:10222/dns/update (looked up in tools/dns_update. Await response “updated DNS:xyz” ). Or make a dummy change in the custom DNS via web interface.
wait for DNS propagation
Why so complicated? Is there an easier way if e.g. the IP would change?
Edit: Had to do it again after update.