dovecot-2.0: example-config: Added mail_attachment_* settings.

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 20 21:30:17 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/d55afae11f89
changeset: 12324:d55afae11f89
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 20 19:30:12 2010 +0100
description:
example-config: Added mail_attachment_* settings.

diffstat:

 doc/example-config/conf.d/10-mail.conf |  26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diffs (33 lines):

diff -r 82a1bdac2e4e -r d55afae11f89 doc/example-config/conf.d/10-mail.conf
--- a/doc/example-config/conf.d/10-mail.conf	Wed Oct 20 18:58:42 2010 +0100
+++ b/doc/example-config/conf.d/10-mail.conf	Wed Oct 20 19:30:12 2010 +0100
@@ -315,3 +315,29 @@
 # 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}


More information about the dovecot-cvs mailing list