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