public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-docs] pmg-mail-filter: add short docs for top-part-only and only-content
Date: Sat, 22 Feb 2025 17:51:52 +0100	[thread overview]
Message-ID: <20250222165152.236727-1-s.ivanov@proxmox.com> (raw)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
 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


             reply	other threads:[~2025-02-22 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-22 16:51 Stoiko Ivanov [this message]
2025-02-22 17:16 ` [pmg-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250222165152.236727-1-s.ivanov@proxmox.com \
    --to=s.ivanov@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal