dovecot: fix config if mailboxes == []

This commit is contained in:
Robin Gloster 2017-11-14 16:49:00 +01:00
parent 50103ecdbb
commit 9181faac41
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -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