diff --git a/default.nix b/default.nix index f8a1305..dfcb36e 100644 --- a/default.nix +++ b/default.nix @@ -468,6 +468,14 @@ in ''; }; + quotaStatusMemoryLimit = mkOption { + type = types.int; + default = 256; + description = '' + The memory limit for the quota-status service, in megabytes. + ''; + }; + extraVirtualAliases = mkOption { type = let loginAccount = mkOptionType { diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index 05b5552..e4829d1 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -294,6 +294,10 @@ in vsz_limit = ${builtins.toString cfg.lmtpMemoryLimit} MB } + service quota-status { + vsz_limit = ${builtins.toString cfg.quotaStatusMemoryLimit} MB + } + recipient_delimiter = ${cfg.recipientDelimiter} lmtp_save_to_detail_mailbox = ${cfg.lmtpSaveToDetailMailbox}