From: Timo Sirainen Date: Wed, 28 Feb 2018 13:09:02 +0000 (+0200) Subject: example-config: Add mail_attachment_detection_options X-Git-Tag: 2.2.35~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa00cf68a5025187fbaa28bf6a74d77cbeb08973;p=thirdparty%2Fdovecot%2Fcore.git example-config: Add mail_attachment_detection_options --- diff --git a/doc/example-config/conf.d/10-mail.conf b/doc/example-config/conf.d/10-mail.conf index 654a3749e0..5b4c9915d4 100644 --- a/doc/example-config/conf.d/10-mail.conf +++ b/doc/example-config/conf.d/10-mail.conf @@ -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 =