Skip to content

Commit

Permalink
global: Rename mail_attachment* to mail_ext_attachment*
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Jan 2, 2024
1 parent 9e819ee commit 01c90db
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion source/configuration_manual/mail_crypt_plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ It works similarly to the :ref:`fs-compress wrapper <fs-compress>`.
It can be used to encrypt e.g.:

* FTS index objects (:dovecot_plugin:ref:`fts_dovecot`)
* External mail attachments (:dovecot_core:ref:`mail_attachment`)
* External mail attachments (:dovecot_core:ref:`mail_ext_attachment`)

Note that fs-crypt and the fs-compress wrapper can be also combined.
Please make sure that compression is always applied before encryption. See
Expand Down
2 changes: 1 addition & 1 deletion source/installation_guide/upgrading/from-2.3-to-3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Deprecated features and their replacements
+------------------------------------------------------------+------------------------------------------------------------------------------------------+
| Feature | Notes |
+============================================================+==========================================================================================+
| :dovecot_core:ref:`fs-sis <mail_attachment>` | Saving new mails' attachments via fs-sis is disabled, |
| :dovecot_core:ref:`fs-sis <mail_ext_attachment>` | Saving new mails' attachments via fs-sis is disabled, |
| | but reading SIS attachments is still supported. |
| | Missing SIS attachments are replaced with files filled with spaces. |
+------------------------------------------------------------+------------------------------------------------------------------------------------------+
Expand Down
16 changes: 8 additions & 8 deletions source/settings/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ See :ref:`settings` for list of all setting groups.
Do not consider any attachment with disposition inlined.


.. dovecot_core:setting:: mail_attachment_dir
.. dovecot_core:setting:: mail_ext_attachment_path
:values: @string

The directory in which to store mail attachments.
Expand All @@ -2025,10 +2025,10 @@ See :ref:`settings` for list of all setting groups.
:ref:`Mail user variables <variables-mail_user>` can be used.


.. dovecot_core:setting_filter:: mail_attachment
:filter: mail_attachment
.. dovecot_core:setting_filter:: mail_ext_attachment
:filter: mail_ext_attachment
:setting: fs_driver
:seealso: @mail_attachment_dir;dovecot_core
:seealso: @mail_ext_attachment_path;dovecot_core
:values: @named_filter

Named filter for initializing :ref:`FS driver <fs>` for external attachments.
Expand Down Expand Up @@ -2057,9 +2057,9 @@ See :ref:`settings` for list of all setting groups.
SIS attachments are replaced with files filled with spaces.


.. dovecot_core:setting:: mail_attachment_hash
.. dovecot_core:setting:: mail_ext_attachment_hash
:default: %{sha1}
:seealso: @mail_attachment_dir;dovecot_core
:seealso: @mail_ext_attachment_path;dovecot_core
:values: %{md4}, %{md5}, %{sha1}, %{sha256}, %{sha512}, %{size}

The hash format to use in attachment filenames when saving attachments
Expand All @@ -2071,9 +2071,9 @@ See :ref:`settings` for list of all setting groups.
will return only the first 80 bits of the SHA256 output.


.. dovecot_core:setting:: mail_attachment_min_size
.. dovecot_core:setting:: mail_ext_attachment_min_size
:default: 128k
:seealso: @mail_attachment_dir;dovecot_core
:seealso: @mail_ext_attachment_path;dovecot_core
:values: @size

Attachments below this size will not be saved externally.
Expand Down

0 comments on commit 01c90db

Please sign in to comment.