diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-06-01 21:25:41 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-06-01 21:25:41 +0900 |
| commit | 1d860809974b246ffe9f1fd31b147487312c91d5 (patch) | |
| tree | c3873886f7c61e870b13536ba47f1e67280920c0 /mail/postfix | |
| parent | ec01cb68e0915175edd3185323efe9185d279b25 (diff) | |
Fix milter IPv4 binding and container DNS for MX lookups
- opendkim.conf / main.cf: localhost → 127.0.0.1 (getent がIPv6を優先し
Postfix の inet_protocols=ipv4 と競合していた)
- docker-compose.yml: dns: 8.8.8.8/1.1.1.1 を追加 (Docker embedded DNS が
MX クエリを解決できなかった)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'mail/postfix')
| -rw-r--r-- | mail/postfix/main.cf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/postfix/main.cf b/mail/postfix/main.cf index 4098668..36d0e35 100644 --- a/mail/postfix/main.cf +++ b/mail/postfix/main.cf @@ -26,8 +26,8 @@ smtp_tls_loglevel = 1 # DKIM signing via OpenDKIM milter on localhost:8891 milter_default_action = accept milter_protocol = 6 -smtpd_milters = inet:localhost:8891 -non_smtpd_milters = inet:localhost:8891 +smtpd_milters = inet:127.0.0.1:8891 +non_smtpd_milters = inet:127.0.0.1:8891 # Queue timeouts maximal_queue_lifetime = 1d |
