enable mail quotas

Currently set to 10 gigabytes. Nobody I know ever reached that limit, so it should be fine
This commit is contained in:
Rouven Seifert 2023-07-14 15:47:11 +02:00
parent 8285c750a6
commit 80d016ae8f
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -94,6 +94,7 @@ in
"reject_unauth_destination"
"reject_unauth_pipelining"
"reject_invalid_hostname"
"check_policy_service inet:localhost:12340"
];
smtpd_relay_restrictions = [
"permit_sasl_authenticated"
@ -119,7 +120,8 @@ in
dovecot2 = {
enable = true;
enableImap = true;
enableQuota = false;
enableQuota = true;
quotaGlobalPerUser = "10G";
enableLmtp = true;
mailLocation = "maildir:~/Maildir";
sslServerCert = "/var/lib/acme/${hostname}/fullchain.pem";