This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.

Attachment indicator

Since 2.2.34/2.3.1 dovecot has a feature that indicates whether email has an attachment or not via keywords. These keywords could be used by IMAP clients. These keywords will likely become standardized - for now the latest information is in https://www.ietf.org/mail-archive/web/imapext/current/msg05858.html

Configuration

To enable this feature, you can set mail_attachment_detection_options.

It supports following options

Usage

Once enabled, mails that are saved, are marked with $HasAttachment or $HasNoAttachment keyword. These keywords can be cleared, and are not protected. Since v2.3.3 it is possible to post-process attachments with doveadm rebuild attachments command.

AttachmentIndicator (last edited 2018-10-09 11:54:01 by 2001:2060:49:110:a0e9:58a0:5f4a:a77e)