Skip to content
Snippets Groups Projects
Verified Commit c7709cea authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(postfix): Fix non-functional dns lookups for lmtp

This patch fixes the unexpected dns lookup behaviour of LMTP.

By default, lmtp only check DNS names directly, by that it ignores
search domains and alike which breaks Kubernetes' lookup behaviour for
namespace internal service names, unless you explicitly configure the
whole FQDN.

This is especially confusing, because the same DNS name works perfectly
fine for SASL lookups. So while the SASL authentication works fine, the
LMTP delivery fails.

This behaviour can be fixed, by enabling native lookups, which will
re-enable regular nss behaviour including the usage of search domains,
which will allow all Kubernetes aspects to work like a charm.

I caught this on the postfix mailing list, after investigating the odd
behaviour for almost a day.

References:
https://marc.info/?l=postfix-users&m=142793569913728&w=2
parent ab4d3c9c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment