dovecot: Only LIST directories in user maildir

This option has Dovecot only return directories in LIST commands, which
is a necessary workaround because of how our home and maildir locations
are the same, which sometimes has extraneous files (such as Sieve
scripts) appear in IMAP directory listings.

We should eventually move away from this unified location, but doing so
requires careful planning and migration.
This commit is contained in:
Alex Palaistras 2022-12-03 14:11:03 +00:00
parent 1ee844b346
commit 8051418e61

View File

@ -18,6 +18,7 @@ mail_location = maildir:/var/mail/virtual/%u
mail_privileged_group = virtual
mail_uid = 5000
mail_gid = 5000
maildir_stat_dirs = yes
# Simplify log messages.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c