mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
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 New Issue
Block a user