mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Merge pull request #1481 from youtous/fix-sieve-folder
Prevent sieve symlink to be evaluated as a directory by dovecot
This commit is contained in:
commit
23eb7c42ab
|
@ -250,7 +250,12 @@ mail_plugins = $mail_plugins quota
|
||||||
# This is done by stat()ing each entry, so it causes more disk I/O.
|
# This is done by stat()ing each entry, so it causes more disk I/O.
|
||||||
# (For systems setting struct dirent->d_type, this check is free and it's
|
# (For systems setting struct dirent->d_type, this check is free and it's
|
||||||
# done always regardless of this setting)
|
# done always regardless of this setting)
|
||||||
#maildir_stat_dirs = no
|
# -------
|
||||||
|
# tomav/docker-mailserver:
|
||||||
|
# Seen dovecot-sieve is always enabled, setting `maildir_stat_dirs = yes` permits
|
||||||
|
# to avoid `/var/mail/domain.tld/user/.dovecot.sieve` (symlink) to be treated as a directory (default behavior).
|
||||||
|
# According to https://github.com/Mailu/Mailu/issues/143#issuecomment-274596931, there is no noticeable impact when this is enabled.
|
||||||
|
maildir_stat_dirs = yes
|
||||||
|
|
||||||
# When copying a message, do it with hard links whenever possible. This makes
|
# When copying a message, do it with hard links whenever possible. This makes
|
||||||
# the performance much better, and it's unlikely to have any side effects.
|
# the performance much better, and it's unlikely to have any side effects.
|
||||||
|
|
Loading…
Reference in a new issue