Dovecot Core Advanced Settings¶
See Settings for list of all setting groups.
Warning
These settings should not normally be changed.
- login_proxy_notify_path¶
Default:
proxy-notifyValues: String
Path to proxy-notify pipe.
Login variables can be used.
- mail_cache_max_size¶
Default:
1GValues: Size
New in version v2.3.11.
If
dovecot.index.cachebecomes larger than this, it’s truncated to empty size.Warning
The maximum value is 1 GB because the cache file format can’t currently support large sizes.
- mail_cache_min_mail_count¶
Default:
0Values: Unsigned integer
Only update cache file when the mailbox contains at least this many messages.
With a setting other than
0, you can optimize behavior for fewer disk writes at the cost of more disk reads.
- mail_cache_purge_continued_percentage¶
Default:
200Values: Unsigned integer
Compress the cache file when n% of rows contain continued rows.
For example
200means that the record has 2 continued rows, i.e. it exists in 3 separate segments in the cache file.
- mail_cache_purge_delete_percentage¶
Default:
20Values: Unsigned integer
Compress the cache file when n% of records are deleted (by count, not by size).
- mail_cache_purge_header_continue_count¶
Default:
4Values: Unsigned integer
Compress the cache file when we need to follow more than n next_offsets to find the latest cache header.
- mail_cache_purge_min_size¶
Default:
32kValues: Size
Only compress cache file if it is larger than this size.
- mail_cache_record_max_size¶
Default:
64kValues: Size
If a cache record becomes larger than this, don’t add it to the cache file.
- mail_cache_unaccessed_field_drop¶
Default:
30daysValues: Time
Specifies when cache decisions are downgraded.
Changed in version v2.3.11: Change caching decision from YES to TEMP after this much time has passed. Drop the field entirely after twice this much time has passed (i.e. 60 days by default), regardless of whether the cache decision was YES or TEMP previously. Older versions used this setting only for dropping the field after it hadn’t been accessed for this long.
See also
- mail_index_log_rotate_max_size¶
Default:
1MValues: Size
Always rotate transaction log after it exceeds this size.
- mail_index_log_rotate_min_age¶
Default:
5minsValues: Time
Rotate transaction log if it is older than this value and is larger than
mail_index_log_rotate_min_size.See also
- mail_index_log_rotate_min_size¶
Default:
32kValues: Size
Rotate transaction log if it is larger than this size and is older than
mail_index_log_rotate_min_age.
- mail_index_log2_max_age¶
Default:
2daysValues: Time
Delete
.log.2index file when older than this value.Older
.log.2files are useful for QRESYNC and dsync, so this value should not be too low.
- mail_index_rewrite_max_log_bytes¶
Default:
128kValues: Size
Rewrite the index when the number of bytes that needs to be read from the .log index file on refresh is between these min/max values.
See also
