From 3111cbe70cb11da6cc9871d5fa9d43be391ba640 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 22 Nov 2026 23:07:23 +0100 Subject: [PATCH] fix(docs): OpenDKIM does not verify signatures but filtermail --- doc/source/overview.rst | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/source/overview.rst b/doc/source/overview.rst index f06306a7..e8821300 100644 --- a/doc/source/overview.rst +++ b/doc/source/overview.rst @@ -52,8 +52,7 @@ The deployed system components of a chatmail relay are: - `acmetool `_ manages TLS certificates for Dovecot, Postfix, and Nginx -- `OpenDKIM `_ for signing messages with - DKIM and rejecting inbound messages without DKIM +- `OpenDKIM `_ for signing outgoing messages with DKIM - `mtail `_ for collecting anonymized metrics in case you have monitoring @@ -294,15 +293,14 @@ Dovecot_ listens on ports Nginx_ listens on port +- 80 (HTTP), which passes certificate challenges on to + `acmetool `_ and redirects everything else to HTTPS, + - 8443 (HTTPS-ALT) and - 443 (HTTPS) which multiplexes HTTPS, IMAP and SMTP using ALPN to redirect connections to ports 8443, 465 or 993. -`acmetool `_ listens on port: - -- 80 (HTTP). - `chatmail-turn `_ listens on port - 3478 UDP (STUN/TURN), and temporarily opens further UDP ports @@ -322,12 +320,10 @@ Chatmail relays enforce :rfc:`DKIM <6376>` to authenticate incoming emails Incoming emails must have a valid DKIM signature with Signing Domain Identifier (SDID, ``d=`` parameter in the DKIM-Signature header) equal to the ``From:`` header domain. This property is checked -by OpenDKIM screen policy script before validating the signatures. This +by filtermail when it verifies the signatures. This corresponds to strict :rfc:`DMARC <7489>` alignment (``adkim=s``). If there is no valid DKIM signature on the incoming email, the sender receives a “5.7.1 No valid DKIM signature found” error. -After validating the DKIM signature, -the `final.lua` script strips all ``OpenDKIM:`` headers to reduce message size on disc. Note that chatmail relays