Branch: refs/heads/master
Home: https://github.com/phpmyadmin/scripts
Commit: d8e1861d31f396b2b2d168c927eef4b88f1fc23a
https://github.com/phpmyadmin/scripts/commit/d8e1861d31f396b2b2d168c927eef4b88f1fc23a
Author: William Desportes <[email protected]>
Date: 2026-11-17 (Tue, 11 November 2026) +01:00

Changed paths: 
A infrastructure/sentry/exim/ipv4-only.conf
M infrastructure/sentry/README.md
M infrastructure/sentry/compose.yml

Log Message:
-----------
sentry: stop the relay trying IPv6 first

exim prefers AAAA records and egress has no IPv6 route, so every delivery
first attempted an IPv6 host, failed with "Network is unreachable" and only
then connected over IPv4 — a failed connect per message, and a timeout
instead of a failure on networks that drop v6 silently.

Mount a small overlay config that sets dns_ipv4_lookup = * ahead of the
image's generated config, and start the daemon with -C so it is used.
Verified with exim -bt: no AAAA addresses in the routing, and the relay
still accepts submissions.

Disabling the sysctl is not enough: exim runs its own resolver and ignores
AI_ADDRCONFIG, so net.ipv6.conf.all.disable_ipv6=1 leaves the behaviour
unchanged. Using the host's IPv6 instead is impossible under rootless
Docker, which gives containers no outbound IPv6; the README records the
three conditions for switching to it.

Signed-off-by: William Desportes <[email protected]>
Co-Authored-By: DeepSeek <[email protected]>

_______________________________________________
Git mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to