From c55ae2d5daf229b12556d6283ba4e5e8161a5eb5 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Mon, 1 Jun 2026 21:14:58 +0900 Subject: Add Postfix+OpenDKIM MTA with txt-based domain management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - mail/ ディレクトリ追加: Postfix + OpenDKIM の Docker コンテナ - mail/domains.txt で送信ドメインを管理(現在: golive.yyamashita.com) - install.sh が domains.txt から KeyTable/SigningTable を動的生成 - setup-route53.py で SPF/DKIM/DMARC を Route 53 に一括設定 - post-receive フックに mail/deploy.sh を追加 Co-Authored-By: Claude Sonnet 4.6 --- mail/opendkim/opendkim.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mail/opendkim/opendkim.conf (limited to 'mail/opendkim/opendkim.conf') diff --git a/mail/opendkim/opendkim.conf b/mail/opendkim/opendkim.conf new file mode 100644 index 0000000..81335f4 --- /dev/null +++ b/mail/opendkim/opendkim.conf @@ -0,0 +1,17 @@ +Syslog yes +SyslogSuccess yes +LogWhy yes + +Canonicalization relaxed/simple +Mode sv +OversignHeaders From + +UserID opendkim +UMask 022 +Socket inet:8891@localhost +PidFile /var/run/opendkim/opendkim.pid + +KeyTable /etc/opendkim/KeyTable +SigningTable refile:/etc/opendkim/SigningTable +ExternalIgnoreList /etc/opendkim/TrustedHosts +InternalHosts /etc/opendkim/TrustedHosts -- cgit v1.2.3