From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B8F2291FCE for ; Fri, 16 Feb 2024 13:39:29 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 933D41E13 for ; Fri, 16 Feb 2024 13:38:59 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 16 Feb 2024 13:38:58 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id E1EFF48540 for ; Fri, 16 Feb 2024 13:38:57 +0100 (CET) References: <20240116104301.247166-1-m.sandoval@proxmox.com> <20240215202111.02c71819@rosa.proxmox.com> User-agent: mu4e 1.10.8; emacs 29.1 From: Maximiliano Sandoval To: Stoiko Ivanov Cc: pmg-devel@lists.proxmox.com Date: Fri, 16 Feb 2024 13:36:36 +0100 In-reply-to: <20240215202111.02c71819@rosa.proxmox.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 1 AWL 0.020 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy FSL_BULK_SIG 0.001 Bulk signature with no Unsubscribe KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RAZOR2_CF_RANGE_51_100 1.886 Razor2 gives confidence level above 50% RAZOR2_CHECK 0.922 Listed in Razor2 (http://razor.sf.net/) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [rspamd.com, opendkim.org] Subject: Re: [pmg-devel] [PATCH pmg-api v4] fix-2971: DKIM: Add setting to use From header when signing X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2024 12:39:29 -0000 Stoiko Ivanov writes: >> + dkim_prefer_rfc5322_domain =3D> { > I checked what others do for those hard-to-name things - maybe we could > orient ourselves on other mail-filters: > * https://rspamd.com/doc/modules/dkim_signing.html (dkim_use_domain a enum > with "envelope" and "header") - one upside is that that will remain a > term even if RFC5322 is obsoleted at some future point... > * opendkim seems to only use header information (but lets you select the > headers, which are search, which I'd like to avoid for usage-simplicity) > - http://opendkim.org/opendkim.conf.5.html =F0=9F=91=8D for using dkim_use_domain as a setting name with possible valu= es being 'envelope', 'header'. Will send v5 in a bit. -- Maximiliano