]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Added mail_attachment_* settings.
authorTimo Sirainen <tss@iki.fi>
Wed, 20 Oct 2010 18:30:12 +0000 (19:30 +0100)
committerTimo Sirainen <tss@iki.fi>
Wed, 20 Oct 2010 18:30:12 +0000 (19:30 +0100)
doc/example-config/conf.d/10-mail.conf

index 1e9443dd248d35cdf15bb005d8ab9d58e9efc637..e13820e4b4d4147cd7495e41bb2584e3e138ae34 100644 (file)
 # mdbox_rotate_size. This setting currently works only in Linux with some
 # filesystems (ext4, xfs).
 #mdbox_preallocate_space = no
+
+##
+## Mail attachments
+##
+
+# sdbox and mdbox support saving mail attachments to external files, which
+# also allows single instance storage for them. Other backends don't support
+# this for now.
+
+# Directory root where to store mail attachments. Disabled, if empty.
+#mail_attachment_dir =
+
+# Attachments smaller than this aren't saved externally. It's also possible to
+# write a plugin to disable saving specific attachments externally.
+#mail_attachment_min_size = 128k
+
+# Filesystem backend to use for saving attachments:
+#  posix : No SiS done by Dovecot (but this might help FS's own deduplication)
+#  sis posix : SiS with immediate byte-by-byte comparison during saving
+#  sis-queue posix : SiS with delayed comparison and deduplication
+#mail_attachment_fs = sis posix
+
+# Hash format to use in attachment filenames. You can add any text and
+# variables: %{md4}, %{md5}, %{sha1}, %{sha256}, %{sha512}, %{size}.
+# Variables can be truncated, e.g. %{sha256:80} returns only first 80 bits
+#mail_attachment_hash = %{sha1}