Package: postfix Version: 3.5.4-1 Severity: important postfix cannot send mail if IPv6 is local only. In /var/log/mail.log I've got errors like
Jul 10 09:53:22 zira postfix/smtp[865322]: 4C24DC218EE: to=<xxx>, relay=none, delay=2409, delays=2389/0.03/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=joooj.vinc17.net type=AAAA: Host not found, try again) for several dozens of minutes. FYI: zira:~> host joooj.vinc17.net joooj.vinc17.net has address 155.133.131.76 joooj.vinc17.net has IPv6 address 2001:4b99:1:3:216:3eff:fe20:ac98 zira:~> ping joooj.vinc17.net PING joooj.vinc17.net (155.133.131.76) 56(84) bytes of data. 64 bytes from joooj.vinc17.net (155.133.131.76): icmp_seq=1 ttl=56 time=7.42 ms 64 bytes from joooj.vinc17.net (155.133.131.76): icmp_seq=2 ttl=56 time=8.82 ms 64 bytes from joooj.vinc17.net (155.133.131.76): icmp_seq=3 ttl=56 time=8.98 ms ^C --- joooj.vinc17.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 7.418/8.406/8.982/0.701 ms zira:~> cat /etc/resolv.conf nameserver 127.0.0.1 nameserver 192.168.1.1 But perhaps the error is due to that IPv6 is (currently) local only: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 30:8d:99:25:ad:3f brd ff:ff:ff:ff:ff:ff inet 192.168.1.3/24 brd 192.168.1.255 scope global dynamic eth0 valid_lft 68944sec preferred_lft 68944sec inet6 fe80::328d:99ff:fe25:ad3f/64 scope link valid_lft forever preferred_lft forever I could eventually solve the issue with "service postfix restart", then "postqueue -f". -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages postfix depends on: ii adduser 3.118 ii cpio 2.13+dfsg-3 ii debconf [debconf-2.0] 1.5.74 ii dpkg 1.20.5 ii e2fsprogs 1.45.6-1 ii libc6 2.30-8 ii libdb5.3 5.3.28+dfsg1-0.6 ii libicu67 67.1-2 ii libsasl2-2 2.1.27+dfsg-2 ii libssl1.1 1.1.1g-1 ii lsb-base 11.1.0 ii netbase 6.1 ii ssl-cert 1.0.39 Versions of packages postfix recommends: ii ca-certificates 20200601 ii python3 3.8.2-3 Versions of packages postfix suggests: ii bsd-mailx [mail-reader] 8.1.2-0.20180807cvs-1+b1 ii emacs-gtk [mail-reader] 1:26.3+1-2 ii libsasl2-modules 2.1.27+dfsg-2 ii mailutils [mail-reader] 1:3.9-3.1 ii mutt [mail-reader] 1.14.5-1 pn postfix-cdb <none> ii postfix-doc 3.5.4-1 pn postfix-ldap <none> pn postfix-lmdb <none> pn postfix-mysql <none> ii postfix-pcre 3.5.4-1 pn postfix-pgsql <none> pn postfix-sqlite <none> ii procmail 3.22-26 pn resolvconf <none> pn ufw <none> -- debconf information: postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 postfix/bad_recipient_delimiter: postfix/protocols: all postfix/compat_conversion_warning: true * postfix/mailname: zira.vinc17.org postfix/newaliases: false postfix/retry_upgrade_warning: postfix/relay_restrictions_warning: postfix/main_cf_conversion_warning: true postfix/sqlite_warning: postfix/mydomain_warning: * postfix/main_mailer_type: Internet Site postfix/tlsmgr_upgrade_warning: postfix/not_configured: postfix/chattr: false postfix/recipient_delim: + postfix/dynamicmaps_conversion_warning: postfix/lmtp_retired_warning: true postfix/kernel_version_warning: postfix/mailbox_limit: 0 postfix/destinations: zira.vinc17.org, 128.119.75.86.rev.sfr.net, localhost.vinc17.org, , localhost postfix/relayhost: postfix/procmail: true postfix/rfc1035_violation: false postfix/root_address: -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)