On a container install, Deliverability failed SPF for 172.31.253.10 and fd69:6e62:7578::2 (inbuxa/inbuxa-admin#224): with no source addresses set the check uses what the server's name resolves to, and the container's /etc/hosts maps that name to the container itself.
When those are all it found, it asks Resolvers::public: the same name servers and options with use_hosts_file = Never. The main resolver is unchanged, so delivery still honours /etc/hosts.
Unit test a_container_s_own_addresses_are_not_sending_addresses; system::deliverability::deliverability_tests (RocksDb, --ignored) still passes.
On a container install, Deliverability failed SPF for 172.31.253.10 and fd69:6e62:7578::2 (inbuxa/inbuxa-admin#224): with no source addresses set the check uses what the server's name resolves to, and the container's /etc/hosts maps that name to the container itself.
- `resolve_name` drops private, CGNAT, loopback, link-local, unique-local and unspecified addresses (`seen_by_receivers`).
- When those are all it found, it asks `Resolvers::public`: the same name servers and options with `use_hosts_file = Never`. The main resolver is unchanged, so delivery still honours /etc/hosts.
- Unit test `a_container_s_own_addresses_are_not_sending_addresses`; `system::deliverability::deliverability_tests` (RocksDb, --ignored) still passes.
- CHANGELOG line added to 27.1-rc.25.
Fixes #408
With no source addresses set, the check tests what the server's name
resolves to. In a container /etc/hosts maps that name to the container's
own addresses, so on an installer's container install Deliverability
failed SPF (and asked blocklists) for 172.31.253.10 and
fd69:6e62:7578::2.
Private, shared, loopback, link-local and unique-local addresses are left
out now. When those are all the name gave, a resolver on the same servers
that never reads /etc/hosts is asked instead (Resolvers::public).
Fixes#408
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
On a container install, Deliverability failed SPF for 172.31.253.10 and fd69:6e62:7578::2 (inbuxa/inbuxa-admin#224): with no source addresses set the check uses what the server's name resolves to, and the container's /etc/hosts maps that name to the container itself.
resolve_namedrops private, CGNAT, loopback, link-local, unique-local and unspecified addresses (seen_by_receivers).Resolvers::public: the same name servers and options withuse_hosts_file = Never. The main resolver is unchanged, so delivery still honours /etc/hosts.a_container_s_own_addresses_are_not_sending_addresses;system::deliverability::deliverability_tests(RocksDb, --ignored) still passes.Fixes #408