Dovecot configuration, see https://doc.dovecot.org/latest/core/summaries/settings.html#all-dovecot-settings for all available options.
For information on the configuration structure, see https://doc.dovecot.org/latest/core/settings/syntax.html.
Explicit settings in services.dovecot2.settings can silently override values set by other
services.dovecot2.* options.Declarations
Type
open submodule of attribute set of (Dovecot config value)Default
{ }Example
{
mail_attribute = {
"dict file" = {
path = "%{home}/dovecot-attributes";
};
};
mail_driver = "maildir";
mail_home = "/var/vmail/%{user | domain}/%{user | username}";
mail_path = "~/mail";
"namespace inbox" = {
inbox = true;
separator = "/";
};
"protocol imap" = {
mail_plugins = {
imap_filter_sieve = true;
imap_sieve = true;
};
};
protocols = {
imap = true;
lmtp = true;
submission = true;
};
service = [
{
_section = {
name = "imap";
};
client_limit = 100;
"inet_listener imap" = {
port = 31143;
};
"inet_listener imaps" = {
port = 31993;
};
process_min_avail = 1;
}
{
_section = {
name = "lmtp";
};
"unix_listener lmtp" = {
mode = "0660";
user = "postfix";
};
user = "dovemail";
}
];
}