Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Mail previews are not shown or just are shown only in rare cases in the App Suite Mail UI, even if enabled via the configuration found here.


App Suite requests previews from supported IMAP servers providing this capability via the LAZY priority modifier.
This modifier instructs the IMAP server to only return the requested data if it is available more or less instantly. Specifically for Dovecot, this means that means the body.snippet needs to must already be already in the index. It , but by default, it is not by default in the indexed fields though and up . Additionally, prior to Dovecot version 2.3.7.x it , the body.snippet was also not put in into the index on such kind of requests. This means that upon this type of request. Because of this, even multiple requests and new mails typically do will usually not make the previews appear.

Since Starting in Dovecot 2.3.8 those , these requests will teach the autolearning index to index this data for new mails. Snippet of the changelog:

When client issues FETCH PREVIEW (LAZY=FUZZY) command, the caching decisions should be updated so that newly saved mails will have the preview cached.

To achieve the same thing in Dovecot versions prior to 2.3.8 the index field can be listed in the mail_always_cache_fields, as in this example:

mail_always_cache_fields = flags date.received size.virtual imap.bodystructure hdr.importance hdr.x-priority hdr.references body.snippet

doveadm force-resync may be used to force reindexing for already existing mails but please keep in mind that this might be a very expensive operation depending on mailbox sizes etcand other factors.