From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 4265F1FF162 for ; Sat, 22 Feb 2025 17:52:44 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DCB1512DCE; Sat, 22 Feb 2025 17:52:42 +0100 (CET) From: Stoiko Ivanov To: pmg-devel@lists.proxmox.com Date: Sat, 22 Feb 2025 17:51:52 +0100 Message-Id: <20250222165152.236727-1-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.068 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 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pmg-devel] [PATCH pmg-docs] pmg-mail-filter: add short docs for top-part-only and only-content 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" Signed-off-by: Stoiko Ivanov --- pmg-mail-filter.adoc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pmg-mail-filter.adoc b/pmg-mail-filter.adoc index 6e7b21f..e8a2500 100644 --- a/pmg-mail-filter.adoc +++ b/pmg-mail-filter.adoc @@ -300,11 +300,19 @@ Matches on infected mails. Match Field:: -Match specified mail header fields (for example, `Subject:`, `From:`, ...) +Match specified mail header fields (for example, `Subject:`, `From:`, ...). +Header fields of all mail-parts are taken into account by default, including the +headers of any attached mails, or the meta-information provided for attachments. +This can be restricted to only consider the headers of the top part of the mail. Content Type Filter:: -Can be used to match specific content types. +Can be used to match specific content types. By default the content type +information is taken from all available sources: The type determined by looking +at the content ('file magic') of the file, the provided `Content-Type:` +header of the attachment mail part, the type determined by looking at the suffix +of the suggested filename. Optionally this matching can be restricted to +consider the file contents. Match Filename:: -- 2.39.5 _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel