]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Add mail_attachment_detection_options
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 28 Feb 2018 13:09:02 +0000 (15:09 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 28 Feb 2018 13:12:14 +0000 (15:12 +0200)
doc/example-config/conf.d/10-mail.conf

index 654a3749e0ad0969e164516a0937d8f23eb82117..5b4c9915d48c944ef7f8e57456026334ec1a4b38 100644 (file)
@@ -399,3 +399,13 @@ protocol !indexer-worker {
 # variables: %{md4}, %{md5}, %{sha1}, %{sha256}, %{sha512}, %{size}.
 # Variables can be truncated, e.g. %{sha256:80} returns only first 80 bits
 #mail_attachment_hash = %{sha1}
+
+# Settings to control adding $HasAttachment or $HasNoAttachment keywords.
+# By default, all MIME parts with Content-Disposition=attachment, or inlines
+# with filename parameter are consired attachments.
+#   add-flags-on-save - Add the keywords when saving new mails.
+#   content-type=type or !type - Include/exclude content type. Excluding will
+#     never consider the matched MIME part as attachment. Including will only
+#     negate an exclusion (e.g. content-type=!foo/* content-type=foo/bar).
+#   exclude-inlined - Exclude any Content-Disposition=inline MIME part.
+#mail_attachment_detection_options =