dovecot: fix config if mailboxes == []
This commit is contained in:
parent
50103ecdbb
commit
9181faac41
|
@ -62,14 +62,14 @@ let
|
|||
}
|
||||
'')
|
||||
|
||||
''
|
||||
(optionalString (cfg.mailboxes != []) ''
|
||||
protocol imap {
|
||||
namespace inbox {
|
||||
inbox=yes
|
||||
${concatStringsSep "\n" (map mailboxConfig cfg.mailboxes)}
|
||||
}
|
||||
}
|
||||
''
|
||||
'')
|
||||
|
||||
(optionalString cfg.enableQuota ''
|
||||
mail_plugins = $mail_plugins quota
|
||||
|
|
Loading…
Reference in a new issue